View Full Version : Mini Window Script

03-10-2004, 10:22 PM
I am using this script, which makes a mini window

<iframe name="cwindow" style="border:1px solid black" width=150 height=150 src="doc.htm"></iframe>

It works fine, however if I add a link in the mini window, it will open the url in the mini window (same window as where the link is), I want it to open either in the entire page where the script is on or in a new window.....

any ideas?


03-10-2004, 10:42 PM
Open in parent window

<a href="#" onClick="window.parent.location = 'http://www.google.com/'">Google</a>
Open in new window

<a href="http://www.google.com/" target="_blank">Google</a>