I have the following code:
onclick=”‘+(clicked ? clicked=false:clicked=true)+’;’+(clicked ? itemID+’img.src=’up.gif” : itemID+’img.src=’down.gif”)+'”
it should be added to a div/layer
I’m wondering if there is something in there that could cause clicked to not chage from true to false every time, because I’ve got this code running on
[url]www.medford.k12.or.us/sample/imageswitcher/left.htm
and it only works when you click the plus sign on schools and the plus sign on 549C. but it doesn’t switch back, and it doesn’t change on any of the other Menu Items. I know the loop is structured correctly, because every other function i’m calling works correctly.
Thanks in advance
Sam