View Single Post
Old 06-05-2003, 08:49 PM  
psyko514
See sig. Join Epic Cash.
 
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
Javascrrrrript help needed...

I have a drop down menu that loads the links automatically when an option is selected in the menu.

I'm using this line:
(form)
(select name="SiteMap" onchange="if(options[selectedIndex].value){location = options[selectedIndex].value; target=_TOP}" size="1")
(option value="http://link.com")LINK(/option)
(option value="http://link2.com")LINK 2(/option)
(/select)
(/form)

and the link opens in the same window...

now how do I go about opening the link in a new window? setting the target to _NEW or _BLANK doesn't seem to work.
__________________

Bad Girl Bucks
- 50% Revshare through CCBill.
Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

Phoenix Forum Pics | Webmaster Access Montreal pics
email: psyko514(a)gmail.com | icq: 214-702-014
psyko514 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote