The Arcive of vBulletin Modifications Site. |
|
Javascript help Details »»
|
|||||||||||||||||||||||||
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?
Code:
onClick="window.location.href='http://www.ghisler.com/'" Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
here you go
Code:
<FORM>
<INPUT type="button" value="New Window!" onClick="window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200')">
</FORM>
http://www.pageresource.com/jscript/jwinopen.htm |
|
#3
|
||||
|
||||
|
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.
|
![]() |
|
|