I have the following code that is not working
in the head tag
and the following in the bodyHTML Code:<script type="text/javascript"> function changeIt() { var theImg = document.getElementsByTagName('img')[0].src; var x = theImg.split("/"); var t = x.length-1; var y = x[t]; if(y=='images/floor19.jpg') { document.images.example.src='images/floor19pg.jpg' } } </script>
HTML Code:<img src="images/floor19.jpg" border="0" usemap="#Map2" name='example' /> <a href="#" onclick="changeIt()">Practice Groups</a>


Reply With Quote
Bookmarks