I have been trying to do image swaps and my second image does not show
up, it just goes to a blank image on the mouseover. I have Windows XP
SP2 and it prompts me to allow blocked content when the page loads and
then I do allow. But the swap still does not show up, just the first
image. Also, is there a more advanced example that has multiple swap
buttons in a menu (maybe in an array)? Help appreciated. <code>
<head>
<title>Cool Page</title>
<script language="JavaScript">
image01= new Image(200,40)
image01.src="c:\off.gif"
image02= new Image(200,40)
image02.src="c:\on.gif"
</script>
</head>
<body>
<a href="whatever.html"
onmouseover="document.images['example'].src=image02.src"
onmouseout="document.images['example'].src=image01.src">
<img src="c:\off.gif" name="example"> </a>
</body>
<html>
</code>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!