open url blank not working

  • Hi,
    I want to open a file from a url with a hotspot.
    It works perfectly with my virtualour generated by kolor PTP 2.3

    However, if copy/past the same code, it doesn't work with krpano and I do not understand why.

    Original code:

    Code
    <hotspot name="spotpoint21156"           ath="0" atv="0"           style="skin_hotspotarrowstyle"           tag="point"           descriptionid=""         onclick="openurl(http://www.google.fr,_blank);"           />  <hotspot name="spotpoint21156" devices="flash" zorder="3"/>  <hotspot name="spotpoint21156" devices="html5" zorder="3" zorder2="1"/>


    Krpano code:

    Code
    <hotspot name="spot20" style="skin_hotspotarrowstyle" scale="0.5" ath="0" atv="0" onhover="showtext(cliquer ici)" onclick="openpdffile" />				<action name="openpdffile">		openurl(http://www.google.fr,_blank);		</action>


    or

    Code
    <hotspot name="spot20" style="skin_hotspotarrowstyle" scale="0.5" ath="0" atv="0" onhover="showtext(cliquer ici)" onclick="openurl(http://www.google.fr,_blank);" />


    no one is working, no effect when I click on the hotspot

    Do you have an idea ?

Participate now!

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