Open image hotspot displaying same image from 2 different hotspot

  • There are 2 open image hotspot. to open 2 different images but somehow it is opening only one. Even when it is link differently.
    Please let me know what it's wrong? Thank you.

    https://at-bangkok.com/virtualtours/A…-Tha-Pra/1.html


  • You have two layers with the same name "openimage", make different

    Code
    <hotspot name="spot2" url="fyi.png" onloaded="do_crop_animation(64,64, 60);" ath="-140" atv="10" onclick="open(openimage1);" tooltip="open closet2" />
    <plugin name="openimage1"url="2.jpg"align="center" x="10" y="10"scale="0.6" alpha="0"visible="false"onclick="close(get(name));"/>
    
    
    <hotspot name="spot3" url="fyi2.png" onloaded="do_crop_animation(64,64, 60);" ath="-205" atv="10" onclick="open(openimage2);" tooltip="open closet3" />
    <plugin name="openimage2"url="1.jpg"align="center" x="10" y="10"scale="0.6" alpha="0"visible="false"onclick="close(get(name));"/>
    <action name="open">set(plugin[%1].visible,true);tween(plugin[%1].alpha,1);</action>
    <action name="close">tween(plugin[%1].alpha,0,0.5,default, set(plugin[%1].visible,false) );</action>

Participate now!

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