 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
natureshealthyessence
Joined: 11 Aug 2008
Posts: 1
|
| Posted: Mon Aug 11, 2008 5:42 pm open button link in new window |
|
|
Can someone please tell me what to add to my code below to make it open in a new window. It is a button and I want the link to open in a new window. I've tried several things, nothing has worked so far.
Thanks in advance!
My code:
<form name="groovyform"><input class="groovybutton" title="" type="button" onclick=" window.location ='http://www.mynsp.com/naturesmedicine/products/guide.aspx?stockNum=899'" onClick="javascript:pageTracker._trackPageview('/outgoing/mynsp.com/naturesmedicine/products/guide.aspx?stockNum=899');" value="Buy Now" name="groovybtn1">
</form> |
|
|
Straystudio
Joined: 14 Apr 2008
Posts: 264
Location: Nord Italy
|
| Posted: Tue Aug 12, 2008 3:25 am |
|
|
onclick="window.open('http://www.mynsp.com/naturesmedicine/products/guide.aspx?stockNum=899')"
onclick="window.open('http://www.mynsp.com/naturesmedicine/products/guide.aspx?stockNum=899', ' ', ' ')"
as well, where the second couple of apostrophos can take Name of that window;
if named, it does not open repeatedly on every click.
The third couple may take window features, whether anyone wish a sized pop-up; with certain bars or not.
wishes |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|