![]() Topic awaiting preservation: image-change script (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: canada |
![]() 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 |
![]() |
Bipolar (III) Inmate From: Umeå, Sweden |
![]() Try this: code: function toggle(elm){
|
Nervous Wreck (II) Inmate From: canada |
![]() 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. |