Hello,
I'm a student webdesigner, currently on my internships. Problem is, people here don't know how to solve my question, so I have to knock on someone else's door. I hope someone on this forum can help me.
I've made a menu using Javascript. They're all images, and using Javascript was easier than CSS for example.
Since I don't know a lot about Javascript, I used the tool in Dreamweaver (Please, do not shoot me. I just have to do something).
This is pretty much the code for every menuitem (I did put the onmousedown in there by myself, because Dreamweaver doesn't have that option available at this moment):
Now, I want the active menuitem to be highlighted. Someone told me that's to be done with onmouseout and onmouseover, but that's just hovering and not-hovering, right? Is there a (fairly simple way) to make a menuitem active? Thanks tons.Code:<li> <a href="specs.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('specificaties','','img/menuitems/specshover.PNG',1)" onMouseDown = "MM_swapImage('specificaties','','img/menuitems/specsclick.png',1) "> <img src="img/menuitems/specificaties.png" alt="specs" name="specificaties" width="85" height="13" border="0" id="specs" /></a> </li> <li>



Reply With Quote
Bookmarks