Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-11-2009, 04:04 PM #1
- Join Date
- Dec 2009
- Thanked 0 Times in 0 Posts
need some help (will take less than 2 mins)
var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if(mySel.form.target)myWin = parent[mySel.form.target];
else myWin = window;
if (! myWin) return true;
myWin.location = myVal;
Within the main body, my code reads:
METHOD=POST onSubmit="return dropdown(this.gourl)">
<OPTION VALUE="">Please select your event...
<OPTION VALUE="http://www.yahoo.co.uk"> preview yahoo UK</option>
<OPTION VALUE="http://www.yahoo.com"> preview yahoo US</option>
<OPTION VALUE="http://www.yahoo.fr"> preview yahoo FR</option>
<OPTION VALUE="http://www.expedia.co.uk"> preview Expedia</option>
<OPTION VALUE="http://www.travelocity.co.uk"> preview Travelocity</option>
<OPTION VALUE="http://www.onlinepictureproof.com"> preview online pics</option>
<INPUT TYPE=SUBMIT VALUE="Go">
I am testing this on my PC, so perhaps it could be that redirect.pl isn't held locally on my home pc, i.e. it would work once we upload the web pages to the web server?!
any help/guidance would be greatly appreciated.
12-11-2009, 04:40 PM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,542 Times in 2,520 Posts