Click to See Complete Forum and Search --> : Opening a full window from a sized pop-up?


D.S.R.Clark
07-13-2003, 02:11 PM
I have a code that will open a sized "child" window.

onclick="window.open(this.href, 'child', 'height=480,width=640,Top=0,Left=0'); return false">


My question is, how do you open a full-sized window from a pop-up? We have all seen those annoying adds. You click on them, they close, an a full window opens. Can anybody help me with the code?

Thank you, Davod S. R. Clark

man
07-13-2003, 02:50 PM
...open a new window and then close the old:

----------------------------------------------------------------------
<SCRIPT LANGUAGE="JavaScript">
window.open("WhereAmI.htm","newWindow","height=520,
width=730,toolbars=no,scrollbars=yes,resizable=yes");
window.opener = top;
window.close();
</SCRIPT>

----------------------------------------------------------------------

This oneīs dont work with the code, but i think itīs not wild

Internet Explorer 5.0 Windows
Netscape 4.79 Windows

David Harrison
07-13-2003, 04:26 PM
I don't know about full sized but you could just do this in the pop-up:

<a href="http://www.w3.org" target="_blank" onclick="window.close();return true;">W3C</a>