Results 1 to 6 of 6

Thread: Automatic resizing of browser

  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Automatic resizing of browser

    Hi,

    I am trying to find a script that will automatically resize the browser window to maximise the persentation of my site. I would like to set a 800 x 600 window around my site. Can anyone help ????

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Not a good idea. Not really possible with today's browsers. Best to design your page to look well in any size window. Or, not as good, clearly state on the page(s) that it is best viewed at 800x600.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    The only way (I think) is to launch it in a seperate window. (Like pop-up)

    Try: http://www.dynamicdrive.com/dynamicindex8/popwin.htm
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by tech_support
    The only way (I think) is to launch it in a seperate window. (Like pop-up)

    Try: http://www.dynamicdrive.com/dynamicindex8/popwin.htm
    Won't work in any browser set to stop pop ups. There really is little you can do to control how your page is viewed. At best, you will succeed perhaps as much as 85% of the time but, at that rate, many browsers may be denied the content or forced to render it in a very unflattering manner. For all the time and effort involved, it is far easier to make a page that looks good at various sizes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Oh really?

    As far as I know, if you make the user click the link, then the pop-up blocker won't block it because the user clicked the link, and it didn't pop-up automatically.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by tech_support
    Oh really?

    As far as I know, if you make the user click the link, then the pop-up blocker won't block it because the user clicked the link, and it didn't pop-up automatically.
    Well, yes but. There is pop up blocking and then there is pop up blocking. Then there is javascript disabled. Then there is pop up handling. In the first case, pop ups may be blocked entirely, including the ones that the user 'initiates'. In the second, with no javascript, the best one can hope for is a 'new page' (target="_blank") of unspecifiable dimensions, unless pop ups are also entirely blocked, in which case one could get an ordinary link, if no target was set, or nothing with target="_blank". In the third, the browser may be configured to 'pop up' in either the same window or in a new tab. In both of these cases, dimension instructions may be lost.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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