Topic awaiting preservation: Rollover selected state ? (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 01-31-2002 13:26
I need to set up a nav with a series of rollover |
Bipolar (III) Inmate From: Berlin (almost) |
posted 01-31-2002 14:22
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..... |
posted 01-31-2002 14:53
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: |
posted 02-01-2002 02:45
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: |
posted 02-01-2002 04:36
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 |
posted 02-01-2002 05:41
Ultra, make sure you read Doc's tute too: http://www.handson.nu/CODING/javascript.shtml |
Bipolar (III) Inmate From: Berlin (almost) |
posted 02-01-2002 08:50
So you already have the onMouseOver effekt working, haven't you? That's a good thing, since everything else is very similar: |