Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Resizing browser window

    Hello,

    Basically, I'm trying to create a "Coming soon page" for my upcoming forum.

    I have the image on the page, it's resoloution is "1024px × 768px"

    I used <script>
    window.resizeTo(1024, 768);
    </script>

    to try and make the image appear in the whole of the browser window, but when the site loads, it's not centred and there is still white at the top?

    It might be easier to show you the problem: the site is "www.leet.ie"

    Thank you,

    Kevin

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by KevinBoland View Post
    Hello,

    Basically, I'm trying to create a "Coming soon page" for my upcoming forum.

    I have the image on the page, it's resoloution is "1024px × 768px"

    I used <script>
    window.resizeTo(1024, 768);
    </script>

    to try and make the image appear in the whole of the browser window, but when the site loads, it's not centred and there is still white at the top?

    It might be easier to show you the problem: the site is "www.leet.ie"

    Thank you,

    Kevin
    what you want is not possible and is very annoying. More than that users who visit your site will avoid to visit you second time.

    best regards

  • #3
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    what you want is not possible and is very annoying. More than that users who visit your site will avoid to visit you second time.

    best regards
    okay, so it's not possible?

    Is it possible to resize the image to the size of there browser and if so, could someone please provide me with the code needed to do so

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,797
    Thanks
    6
    Thanked 1,023 Times in 996 Posts
    Well, you will have to write up a proper HTML document for this to work. This includes a doctype in the beginning and some CSS to change the page background color and center the image.

  • #5
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by KevinBoland View Post
    okay, so it's not possible?
    no. In the browser configuration, look in ffox for example, are some checkbox to avoid this.

    Is it possible to resize the image to the size of there browser and if so, could someone please provide me with the code needed to do so
    I don't!

    best regards


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •