Quoted from "San7" <action name="startup" autorun="onstart"> set(show_hs, true); Write on the button onclick="if(show_hs, set(show_hs,false); hide_hotspots();, set(show_hs,true); show_hotspots(); );" in the scenes onstart="if(show_hs, set(show_hs,false); hide_hotspots();, set(show_hs,true); show_hotspots(); );" THANK YOU very much!! I had to add the same code to some other places, like the prev/next arrows, thumbails and also to the hide skin button, but at the end I managed to achieve what I w...
Quoted from "San7" You can change the hotspot while in an open scene, but if you exit and return to this scene, the hotspots will be set to the starting values, so you need to remember the state. Make a flag for opening and closing hotspots and depending on the state of the flag when loading scenes, set the visibility of hotspots ok, I understand the logic of it, but as I have no coding skills at all, do not know how to do this flags, is there any example in the documentation or somewhere else ...
Quoted from "San7" Here is an example code for showing hotspots For local hotspots, disconnection must be done at the start of the scene, because changes to the hotspot are not saved if you exit the scene Thank you very much again...I tryed your code on the vtourskin.xml and then the tour could not be loaded...so I tryed it on the "tour.xml" but with no luck, the tour loads but it makes no difference... Anyway I think that what I am trying to achieve is far more simple than this code...I do not...
noone can help me with this?
Quoted from "San7" Try using shutdown alpha instead of visible set(hotspot[get(i)].alpha ,0); set(hotspot[get(i)].alpha ,1); Thank you very much! That worked as expected! Now, just have one last question, as the hotspots are still active, if I click on them and go to the next panorama, they are visible again, but not the menu skin...is there a way to keep those hotspots hided when going through panoramas with the menu hided? thanks again
Hello, I have read a lot of posts about hide and show hotspots with no luck... I just want to have a button to turn on and off the hotspots and I would like to use the hide/show skin button (that arrow looking down inside a circle on the right side of the skin bar). So when I hide the skin also the hotspots go away, in that way I have a "clean" view of the panorama. I tryed to use Klaus codes and added them on the vtourskin.xml...I added the two actions for hide and show the hotspots, and added ...