You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, June 4th 2014, 9:43am

Hide / Unhide layer witch "onclick" on hotspot

Hi,

I'd like to add a hotspot in my scene and add an action.

For example, when I clik on the hotspot, I'd like to laod a textfield.

Here is my code :

Quoted

<hotspot name="spot8" url="icone_texte.png" onhover="showtext(Afficher une zone de texte,info-bulle)" ath="10.480" atv="-18.381" onclick="set(layer[textfield].visible,false);" />


Here I can Hide the Textfield layer when I click on the hotspot ... But How the Textfield layer can be invisible by defaut and visible when I click on the hotspot and on course, the textfield will be invisible when I click on the hotspot.

Hope you can help me. ;-)

Similar threads