• Hole e intentado ponerlo en ingles pero parece que es demasiado malo, estoy intentando aprenderlo.....

    1º La primera cuestion es como puedo hacer 2 hotspot y cuando se haga click en los 2 se ejecute una accion.

    2º Existe algun manual o demostracion para descargar de la obccion if en español??

    3º Como puedo eliminar el evento <events onloadcomplete="delayedcall(180, loadpano(panorama1.xml));/>

    Graciass¡¡¡¡

  • Entiendo que la funcion if va por aqui:

    <plugin name="as1"
    hotspot1="0"
    hotspot2="0"
    />

    <action name="abrir" >
    if(plugin[as1].hotspot1== 1, <-- cuando Hotspot 1 y 2 es = a 1 que este es = a (mirarhotspot) -->
    if(plugin[as1].hotspot2== 1,
    loadpano(pano1.xml); ));
    </action>

    <action name="mirarhotspot" >
    if(plugin[as1].hotspot1 == 1,
    set(hotspot[hotspot1].visible, false); <-- cuando Hotspot 1 = a visible,false = a (1) -->
    );

    if(plugin[as1].hotspot2 == 1,
    set(hotspot[hotspot2].visible, false);
    );

    </action>

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!