Log in

View Full Version : Two mouseover events and one result



lucipubl
08-06-2007, 07:43 PM
Hi all,

Does anyone know how I can do this? -- I have a nav bar on the left, and the buttons change on rollover. That works fine. But, I want to have two mouseover effects: (1) The button rollover, and (2) I need the image of another area of my page to change depending on which button the mouse pointer is on. Any ideas?

Thanks!

Veronica
08-06-2007, 08:14 PM
Do you already have the scripts to do those functions and just want to combine them? If so, you can separate the 2 events with a semi-colon in the onMouseOver call:

onMouseOver = "event1(); event2()"

If you're looking for actual scripts to do the rollover/image change, you can post your code with more info about what effects you want, etc. The Image Thumbnail Viewer at http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm is a nice script, but we'd probably need to see your other mouseover code to try to combine them..