Topic awaiting preservation: image-change script |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: canada |
posted 12-04-2004 08:05
I'm missing something somewhere with this simple image-switching script. What I am trying to do is to change the + into a - when it is clicked on, and back to + when it is clicked again. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-04-2004 08:36 |
Bipolar (III) Inmate From: Umeå, Sweden |
posted 12-04-2004 08:38
Try this: code: function toggle(elm){
|
Nervous Wreck (II) Inmate From: canada |
posted 12-05-2004 01:34
thanks for replying slime and liorean. I couldn't get your suggestions to work but I figured out a workaround using display:none and display:inline. Just thought I would let you know. |