I am relatively new to javascript and am having a problem
I have a drop down box that when an option is selected, invokes a script that 'jumps' to the selected image. The following code works in IE, but not in netscape...
<form name="goto">
<td width="120">
<select name="image" onChange="location.href=goto.image.options[selectedIndex].value; window.close();" class="drop">
<option selected value=http://www.webdeveloper.com/forum/archive/index.php/"">Go To Picture:
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=1','150','188')">1) 1678931.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=2','475','594')">2) 1708303.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=3','475','594')">3) 1759413.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=4','475','594')">4) 570745.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=5','85','106')">5) 721666.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=6','100','125')">6) Kobe_prepa...
</select>
</td>
</form>
Any suggestion on how I can make it work in netscape!
Thanks,
Eric
I have a drop down box that when an option is selected, invokes a script that 'jumps' to the selected image. The following code works in IE, but not in netscape...
<form name="goto">
<td width="120">
<select name="image" onChange="location.href=goto.image.options[selectedIndex].value; window.close();" class="drop">
<option selected value=http://www.webdeveloper.com/forum/archive/index.php/"">Go To Picture:
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=1','150','188')">1) 1678931.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=2','475','594')">2) 1708303.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=3','475','594')">3) 1759413.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=4','475','594')">4) 570745.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=5','85','106')">5) 721666.jpg
<option value=http://www.webdeveloper.com/forum/archive/index.php/"javascript:view_album('http://www.mysite.com/cgi-bin/emAlbum/emAlbum.pl?album=2001 January Los_Angeles_Lakers_SMALL&image=6','100','125')">6) Kobe_prepa...
</select>
</td>
</form>
Any suggestion on how I can make it work in netscape!
Thanks,
Eric