1. No Profile Picture
    chappa ranks
    Devshed Newbie (0 - 499 posts)
    I had a look at netscape's developer site regarding javascript and came across the script that resizes a new window and, if I am correct, it will detect what screen resolution and colour bit depth they are using and then resize the window accordingly. But can this be used as part of a sniffer eg to automatically resize the browser window on opening the url without any user input?

    can anyone help???

    [This message has been edited by chappa ranks (edited 09-28-99).]
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Yes, from JavaScript 1.2, you can resize the browser by using Window.resizeTo(width,height)

    In Netscape 4, You cannot set the width and height to less than 100 pixels without the UniversalBrowserWrite privilege (that is, you need a signed script)

Similar Threads

  1. text resizing in a browser
    By Ides in forum HTML Programming
    Replies: 9
    Last Post: April 5th, 2004, 12:14 PM
  2. Replies: 6
    Last Post: February 6th, 2004, 06:22 AM
  3. Pulling Back Scrollbar on the same window browser..?
    By Jasmine in forum HTML Programming
    Replies: 0
    Last Post: September 16th, 2003, 08:47 PM
  4. How to limit user to open just 1 browser window?
    By hy503web in forum PHP Development
    Replies: 5
    Last Post: February 23rd, 2002, 09:46 PM
  5. cleanup if browser window closed
    By christeen in forum PHP Development
    Replies: 9
    Last Post: January 16th, 2002, 06:17 AM

IMN logo majestic logo threadwatch logo seochat tools logo