|
-
March 5th, 2003, 11:44 PM
#1
Adding drop down JS menus to rollover images
Hey all. I'm a bit new to JavaScript, so go easy on me. In a web page I'm designing I have javascript rollover images. Now what I would like to do is add a drop down javascript menu such as the one located here to the rollover image. The existing tag for the rollover image is as follows:
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('eseries','','eseriesbuttonover.gif',1)"><img name="eseries" border="0" src="eseriesbuttonup.gif" width="93" height="24"></a>
Is what I want to do possible? Or do I have to get rid of the rollover script to do so?
Thanks in advance
Alex
-
March 6th, 2003, 05:32 AM
#2
Not knowing what MM_swapImgRestore and MM_swapImage do I cannot say for sure. However the basics look right as long as the image needds to also be a hyperlink. If not then get ride of the anchor tag and do this instead
<img name="eseries" border="0" src="eseriesbuttonup.gif" width="93" height="24" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('eseries','','eseriesbuttonover.gif',1)">
It will have the same effect without the hyperlink effect on the button.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|