我試圖創建一個窗體,其中顯示不同的圖像取決於通過下拉選擇的項目,我已經完成了這個,但現在需要將每個圖像鏈接到它的產品頁面(html),但不知道如何?添加多個提交按鈕
<center>
<form name="mygallery"><p>
<select name="picture" size="1" onChange="showimage()">
<option selected value="images/products_lights/chandler_blue.jpg">Gem Light Blue</option>
<option value="images/products_lights/chandler_pink.jpg">Gem Light Pink</option>
<option value="images/products_lights/gem_white.jpg">Gem Light White</option>
<option value="images/products_lights/chandler_pink2.jpg">Chandelier Pink</option>
<option value="images/products_lights/chandler_white.jpg">Chandelier White</option>
<option value="images/products_lights/pod_black.jpg">Pod Light Black</option>
<option value="images/products_lights/pod_blue.jpg">Pod Light Blue</option>
<option value="images/products_lights/pod_gold.jpg">Pod Light Gold</option>
<option value="images/products_lights/pod_green.jpg">Pod Light Green</option>
<option value="images/products_lights/pod_red.jpg">Pod Light Red</option>
<option value="images/products_lights/pod_silver.jpg">Pod Light Silver</option>
<option value="images/products_lights/shade_black.jpg">Shade Black</option>
<option value="images/products_lights/shade_blue.jpg">Shade Blue</option>
</select>
</p>
</form>
</center>
<p align="center"><img src="images/products_lights/chandler_blue.jpg" name="pictures" width="90%" height="90%">
我想可能的加一個提交按鈕卻又不知道如何去改變它指向的網址是什麼?...
''showimage功能的附加代碼 –