Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New window on Mac IE 5.2

Status
Not open for further replies.

modalman

Programmer
Feb 14, 2001
156
0
0
GB
Hi, I've written the code below to open a new window. However on a Mac running IE5.2 the window height seems to be ignored and is less than half of what it should be. This is a problem especially as I need the scrollbars disabled as well. My code is:

myWin4=window.open("myPage.asp", "myNewWindow", "width=790,resizable=no,height=530,status=yes,scrollbars=no,toolbar=no,menubar=no,top=0,left=0");

Any ideas? Many thanks in advance

ASCII silly question, get a silly ANSI
 
I have found a similar problem in the past... If the window already exists, or is already open, then it doesn't get resized on the second call to window.open.

If you pass your second parameter as "" instead of "myNewWindow", or use a new value altogether, does that solve the problem?

Hope this hels,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top