New2JavaScript
Programmer
Hi,
I'm using an imagemap rollover, but I'm trying to replace it with separate rollovers for each menu button, for load time and also so it's easier to edit/replace individual menu buttons. For some reason, I get spacing between each menu, and I can't figure out how to get rid of it.
Here's the code for the first menu item I currently have.
<a href="index.html"
onMouseOver="imageReplace('navToggleHome', 'navHome2.jpg')"
onMouseOut="imageReplace('navToggleHome', 'navHome.jpg')">
<img src="navHome.jpg" width="100" height="50" border="0" hspace="0" vspace="5" alt="home" name="navToggleHome">
</a>
If I add another one just below it, it creates the menu but with some spacing in between, so it no longer looks like what I already have with the imagemap. I want to create the same look, but just change the code so it's easier to edit for future.
Here's the URL:
Any guidance is greatly appreciated!!!
I'm using an imagemap rollover, but I'm trying to replace it with separate rollovers for each menu button, for load time and also so it's easier to edit/replace individual menu buttons. For some reason, I get spacing between each menu, and I can't figure out how to get rid of it.
Here's the code for the first menu item I currently have.
<a href="index.html"
onMouseOver="imageReplace('navToggleHome', 'navHome2.jpg')"
onMouseOut="imageReplace('navToggleHome', 'navHome.jpg')">
<img src="navHome.jpg" width="100" height="50" border="0" hspace="0" vspace="5" alt="home" name="navToggleHome">
</a>
If I add another one just below it, it creates the menu but with some spacing in between, so it no longer looks like what I already have with the imagemap. I want to create the same look, but just change the code so it's easier to edit for future.
Here's the URL:
Any guidance is greatly appreciated!!!