javascript help

Discussion in 'Archived Threads 2001-2004' started by Andrew Pratt, May 2, 2002.

  1. Andrew Pratt

    Andrew Pratt Producer

    Joined:
    Dec 8, 1998
    Messages:
    3,806
    Likes Received:
    0
    Trophy Points:
    0
    I am trying to open a new window from a link on a html page. The problem I'm having is that I want the new window to be maximized and have no status bar, tool bar etc. I've figured out how to get rid of the toolbars etc but I'm stuck on the maximized new window. I have tried using screen.height and screen.width in place of hard values (1024 and 768 which work fine but I can't always be sure my users will have their home PC's set to that resolution)
    I found a javascript that looked like it would work but it doesn't seem to work properly (I'm using IE6)
    This is the script I was trying to use....
    [​IMG]
     
  2. Kevin P

    Kevin P Screenwriter

    Joined:
    Jan 18, 1999
    Messages:
    1,439
    Likes Received:
    0
    Trophy Points:
    0
    Andrew, your image isn't showing. If you like you can email me the code and I can look at it for you.

    KJP
     
  3. Andrew Pratt

    Andrew Pratt Producer

    Joined:
    Dec 8, 1998
    Messages:
    3,806
    Likes Received:
    0
    Trophy Points:
    0
    yeah my ISP is having problems...no bother though I figured it out...had to load the screen width and height in the body before calling the function.
     

Share This Page