Hi. This form is working in IE but not in FF. Note how the images don't load in FF
The code I have used is this:
Javascript in the head
<script language="javascript">
<!--
function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].test
}
//-->
</script>
Form:
Thanks for reading :hehe:
The code I have used is this:
Javascript in the head
<script language="javascript">
<!--
function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].test
}
//-->
</script>
Form:
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 test="mobiles/images/handsets/6230i.jpg" value="Nokia 6230i">Nokia 6230i</option>
<option test="mobiles/images/handsets/6030.jpg" value="Nokia 6030 Val">Nokia 6030</option>
<option test="mobiles/images/handsets/6101.jpg" value="Nokia 6101">Nokia 6101</option>
</select></p>
</form>
</td>
</tr>
<tr>
<td width="100%"><p align="center"><img src="mobiles/images/handsets/6230i.jpg" name="pictures" width="99"
height="100"></td>
</tr>
</table>
Thanks for reading :hehe:






