Problem, it will not let me run two scripts in the same page. Can anyone help me with this?
<script language=Javascript><!--
function previewImage()
{
tindex = document.f.colortheme.selectedIndex;
var previewImage = document.f.colortheme.options[tindex].value;
document.getElementById('PREVIEW').src = previewImage;
return false;
}
//--></script>
</head>
<body>
<h5>PREVIEW IMAGE onChange</h5>
<table border="1" bgcolor="gold">
<tr>
<td>
<form method=hahahahahaha name="f" id="f" action="form_dropdown_image_select_rmk_UNIVERSAL.h tml">
<!--
visit our website:
http://www.angdatingdaan.org --- really cool
email me:
[email protected]
-->
Select image:<br>
<select name="colortheme" id="colortheme" onChange="previewImage()" size="7">
<option value="http://www.angdatingdaan.org/images/index7.gif">88x88
<option value="http://kaanib.net/images/webtv_1.jpg">90x120
<option value="http://www.google.com/images/about_logo.gif">100x100
<option value="http://us.a1.yimg.com/us.yimg.com/i/ww/beta/y3.gif">100x130
<option value="http://us.a1.yimg.com/us.yimg.com/i/ww/beta/y3.gif">110x130
<option value="http://us.a1.yimg.com/us.yimg.com/i/ww/beta/y3.gif">110x150
<option value="http://us.a1.yimg.com/us.yimg.com/i/ww/beta/y3.gif">120x160
</select>
</center>
</form>
</td>
<td valign="center" width="300" align="center">
<img src="http://images.animationfactory.com/animations/animals/rodents/mouse_quiet_shh/mouse_quiet_shh_sm_nwm.gif" border="0" id="PREVIEW" alt="preview image" width="90" height="90"/></td>
</tr>
</table>