Click to See Complete Forum and Search --> : Optimized popup (full window) is not not maximized


petervidal
07-23-2003, 04:00 PM
Hi list!

I am trying to use this script:

http://javascript.internet.com/user-details/optimized-popup.html

... but still I need to be able to have the window "maximized" completelly. What I mean is that I still have to use the mouse to "click" in the little box or square on the upper rigth corner (in the middle of the the underscore and the "X" that cancels the window).


Thanks in advance!

Peter Vidal
:cool:

xataku_nakusute
07-23-2003, 10:11 PM
<html>
<head>

<script language=javascript>
function openwindow()
{
w_height=screen.availHeight
w_width=screen.availWidth
window.open("http://urlofyourpage","","height=" + w_height + ",width=" + w_width + ",left=0,top=0")
}
</script>

</head>
<body>
<form>
<input type=button value="Open Window" onclick="openwindow()">
</form>
</body>
</html>

you may call the function at other times as well, at multiple times, or more than once at one time

i hope that helps!

petervidal
07-24-2003, 09:36 AM
Thank you!
:D

xataku_nakusute
07-24-2003, 07:15 PM
np:D