This is my first post. I’m very glad to have found this forum!
I’m trying to modify this script:
<script language=”javascript”>
<!–
/*Combo Box Image Selector:
By JavaScript Kit ([url]www.javascriptkit.com
Over 200+ free JavaScript here!
function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value
}
//–>
</script>
<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=”me.gif”>Picture of me</option>
<option value=”myaunt.gif”>Picture of my aunt</option>
<option value=”brother.gif”>Picture of my brother</option>
</select></p>
</form>
</td>
</tr>
<tr>
<td width=”100%”><p align=”center”><img src=”me.gif” name=”pictures” width=”99″
height=”100″></td>
</tr>
</table>
What I would like to do is make OPTION one “None” by default. How do I modify the script to delete the picture if “None” is selected?
You may see what I am doing here (at the bottom of the screen)
[url]http://legaljam.com/calendar/admin.pl
Thanks for any help!