Hi
I have this code which is for a drop down box
As you can see, an image displays when a user selects an object from the drop down box.
My problem is that I don't want the image location to be the object value. Is it possible for me to choose my own values whilst still displaying the images?
Thanks for reading :hehe:
I have this code which is for a drop down box
PHP:
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><form name="mygallery"><p><select
name="picture" size="1" onChange="showimage()">
<option selected value="../mobiles/images/handsets/6230i.jpg">Nokia 6230i</option>
<option selected value="../mobiles/images/handsets/k750i.jpg">Sony Ericsson K750i</option>
<option selected value="../mobiles/images/handsets/6280.jpg">Nokia 6280</option>
</select></p>
</form>
</td>
</tr>
<tr>
<td width="100%"><p align="center"><img src="images/handsets/1100.jpg" name="pictures" width="88"
height="130"></td>
</tr>
</table>
As you can see, an image displays when a user selects an object from the drop down box.
My problem is that I don't want the image location to be the object value. Is it possible for me to choose my own values whilst still displaying the images?
Thanks for reading :hehe:







