Forum Moderators: open

Message Too Old, No Replies

How to open a maximized popup?

Ie6 / xp

         

nexus from oz

2:40 pm on Mar 15, 2004 (gmt 0)

10+ Year Member



I would like to open a pop up window that goes maximized (not fullscreen) itself.

is it an attribute for open.window() function?

thanks

RonPK

4:01 pm on Mar 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it can be done with JavaScript's window.open() method (not open.window :) )

function openMax() {
var wihe = 'width='+screen.availWidth+',height='+screen.availHeight;
window.open("ht*p://www.example.com/",
"foo",
"screenX=1,screenY=1,left=1,top=1," + wihe);
}

Please use the JavaScript forum for questions like this...

nexus from oz

4:27 pm on Mar 15, 2004 (gmt 0)

10+ Year Member



window.open() sure! ;)

thanks!

tedster

7:21 pm on Mar 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thread is now moved to the Javascript Forum

nexus from oz

8:09 pm on Mar 15, 2004 (gmt 0)

10+ Year Member



RonPK, that script is not exactly what I'm looking for.

It opens a popup as wide and tall as the screen, not a maximized popup.

With maximized I mean a window as it appears (os: Windows, not Mac) when clicked the button wich stands to the left of "close", in the upper right corner.

It should be a window that the user cannot drag around, and without resize angles.

thanks

RonPK

11:33 pm on Mar 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry, AFAIK there is no JavaScript method to achieve that. There might be some proprietary IE script, but I don't (want to) know much about that.