OnClick STAY down, plase?
OnClick STAY down, plase?
- Started
- Last post
- 6 Responses
- atle
Good evening,
I would very much like if anyone could tell me how to make a .gif file change to another gif file, when you CLICK the button, not take the mouse over.
So when you CLICK ok-off.gif, ok-on.gif get's active, and stays active forever.. (get my point?)
Thanks :)
- unformatted0
just use the same script you would use for the onmouseover except put it in the onClick or href.
- xrusos0
like this?
- ********0
you mean a basic JavaScript scrollover effect. Just a little bit of algebra should do it.
- ********0
onmousedown='Swap('r1','up_2.gif...
- ********0
onmousedown='Swap('okgif','ok-on...
- atle0
Thanks :)
I got the hint, and looked into the code and damn, it was easy even for me...peace