Forum Moderators: open

Message Too Old, No Replies

Using onmouseover and onclick on image

         

Arcangel

10:14 pm on Jun 30, 2003 (gmt 0)

10+ Year Member



Hello all,

I have a unique problem I think. I'm building a clamshell type menu. The menu will look like the beta for MS Outlook 2003. Now I have the original button that the menu will use and the image that will be displayed when the button is clicked, here's the problem part, I need the buttons to also have a rollover image.

In short there will be three images,
(image 1)original image when the page loads, clamshell menu is in closed state

(image 2)rollover image when the button is moused over, it must rollover when the clamshell menu is open or closed

(image 3)image that will be displayed after the original image is clicked on, clamshell menu is opened

I hope I've explained this clearly enough, any help will be greatly appreciated.

TIA

Arcangel

gph

12:46 am on Jul 1, 2003 (gmt 0)

10+ Year Member



I don't have a code example for you but you should be able to use a regular rollover script and add onclick/onmousedown. You could also return to the orginal image onmouseup.