Hi there,
I made some sort of a single panorama with couple of hotspots which switch actions on clicks the code looks like that...
onclick="call(onclick_one);" onclick_one="set(onclick,call(onclick_two));" onclick_two="set(onclick,call(onclick_one));"
I have 11 hotspots with almost same parameters (accept ath and atv as well as the information) everything works ok so far... and you can see it here...
but after a few clicks it's all go a mess because the code remembers each button state of the click. So I tried variety of things like changing names from "click_one" "click_two" to "click_AA" "click_AB" and then I tried to simply switch all of them one by one it made my code huge but didn't work. I tried to set variable on first click and then check if this is the variable then means its first click and then set all to "click_AA, click_BA, click_CA," didnt work as well.
I acctually need some sort of state set to all hotspots to be "click_one" or "click_two"
Maybe I'm doing something wrong can anyone help? I will give more of the code if needed...
Thanks,
N.