![]() Topic awaiting preservation: Rollover selected state ? (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() I need to set up a nav with a series of rollover |
Bipolar (III) Inmate From: Berlin (almost) |
![]() What exactly do you mean? Do you want the image to change after someone clicked it? Then you could add a onclick="..." event handler to it, which calls the rollover function just like the onmouseover event does. You'll just have to let it switch to another image, which then will be displayed until the linked page loads. Or are you looking for a different effekt? |
Maniac (V) Inmate From: there...no..there..... |
![]() Yes, remember you can do the old "swap" images on the onMouseOver and onMouseOut, then you have onClick, onMouseDown and onMouseUp. You could put a "swap" on each of these. Or do you want multiple mouse overs? |
Nervous Wreck (II) Inmate From: |
![]() yes i want to have buttons (using images) with a up state and a hover state but i'd like to ad a onclick function |
Nervous Wreck (II) Inmate From: |
![]() Is still not working when i ad the onclick function the image on mouse over just chnge to the over state and never go back to the up state |
Maniac (V) Mad Scientist From: New California |
![]() Ultra, make sure you read Doc's tute too: http://www.handson.nu/CODING/javascript.shtml |
Bipolar (III) Inmate From: Berlin (almost) |
![]() So you already have the onMouseOver effekt working, haven't you? That's a good thing, since everything else is very similar: |