View Full Version : Javascript help
Boofo
01-18-2003, 11:28 PM
Can anyone please tell me how I can make the following window open up in a new window instead of opening up in the same window?
onClick="window.location.href='http://www.ghisler.com/'"
fla5h
01-18-2003, 11:44 PM
here you go
<FORM>
<INPUT type="button" value="New Window!" onClick="window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200')">
</FORM>
For tips on all the options you can use go here.
http://www.pageresource.com/jscript/jwinopen.htm
Boofo
01-18-2003, 11:51 PM
Thank you for the quick comeback, but that isn't going to work. :) I am using this on a mouseover and I need the window to open with a target="_blank". The code I posted was the last part of the code before the link.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.