...

View Full Version : Mini Window Script



BoNeSaW
03-10-2004, 09: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?

thanks!

Antoniohawk
03-10-2004, 09: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>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum