Full version: jsB@nk » Image » Image viewer » Drop Down Image Selector II
URL: https://www.javascriptbank.com/drop-down-image-selector-ii.html
A dropdown combo box that allows surfers to choose among many images to be shown. Each image is linked up to a different URL, and is clickable.
Full version: jsB@nk » Image » Image viewer » Drop Down Image Selector II
URL: https://www.javascriptbank.com/drop-down-image-selector-ii.html
<script language="javascript"><!--function linkrotate(which){var mylinks=new Array()//add in more links if you want (ie:mylinks[3]=...)mylinks[0]="http://javascriptbank.com"mylinks[1]="http://javascriptbank.com"mylinks[2]="http://javascriptbank.com"window.location=mylinks[which]}function showimage(){if (!document.images)returndocument.images.pictures.src=document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value}//--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<form name="mygallery"><select name="picture" size="1" onChange="showimage()"><option selected value="logojs.gif">Picture of JavaScriptBank.com</option><option value="photo3.jpg">Photo 3</option><option value="photo4.jpg">Photo 4</option></select></p></form><a href="javascript:linkrotate(document.mygallery.picture.selectedIndex)" onMouseover="window.status='';return true"><img src="logojs.gif" name="pictures" border=0></a><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->