Kroll Web Design

This is a pop-up!

Output:

Click here to close the pop-up window.

Click here to return the main window to the JavaScript index page.

Click here to change the main window to Google. (in IE7, pop-up loses focus)

Click here to close the pop-up and to return the main window to the JavaScript index page.

Code:


<a href="#" onclick="window.close()">Click here to close the pop-up window.</a><br><br>

<a href="index.htm" target="main">Click here to return the main window to the JavaScript index page.</a><br><br>

<a href="http://www.google.com" target="main">Click here to change the main window to Google</a> <span class="body-copy">(in IE7, pop-up loses focus)</span><br><br>

<a href="javascript:opener.location='index.htm';self.close()">Click here to close the pop-up and to return the main window to the JavaScript index page.</a><br />


 
« Return


©2012 Kroll Design    info@KrollDesign.net    781.910.3694
Last modified: 12/31/1969 7:00 PM