Forums
This topic is locked
advanced popup
Posted 14 Mar 2007 14:11:57
1
has voted
14 Mar 2007 14:11:57 chris walker posted:
I remember once reading somewhere how to make a popup window thta can control the main window. I just want to know if anyone here knows how to make a popup that you can open, and has a bunch of links, but when you click the link, it opens the page in the main window... i hope you understand, and i hope you can helpthanks
Replies
Replied 14 Mar 2007 15:09:08
14 Mar 2007 15:09:08 Lee Diggins replied:
Hi Chris
Main Page:
<pre id=code><font face=courier size=2 id=code><body>
<p><a href="#" onClick="window.open('mypopupwebpage.htm','popup1','width=200,height=200')">Open Popup</a></p>
</body> </font id=code></pre id=code>
Popup Page:
<pre id=code><font face=courier size=2 id=code><body>
<p><a href="#" onClick="top.opener.location.href = 'www.microsoft.com'">Open in parent window</a></p>
</body>
</font id=code></pre id=code>
Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>
Edited by - Digga the Wolf on 14 Mar 2007 15:11:35
Main Page:
<pre id=code><font face=courier size=2 id=code><body>
<p><a href="#" onClick="window.open('mypopupwebpage.htm','popup1','width=200,height=200')">Open Popup</a></p>
</body> </font id=code></pre id=code>
Popup Page:
<pre id=code><font face=courier size=2 id=code><body>
<p><a href="#" onClick="top.opener.location.href = 'www.microsoft.com'">Open in parent window</a></p>
</body>
</font id=code></pre id=code>
Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>
Edited by - Digga the Wolf on 14 Mar 2007 15:11:35