Sie sind nicht angemeldet.

1

Montag, 18. Januar 2016, 16:02

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:

Quellcode

1
    <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:

Quellcode

1
		<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

Quellcode

1
		<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 ?

2

Montag, 18. Januar 2016, 18:01

solved: it works if I don't put a style but a direct url for the hotspot icon.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »simious« (18. Januar 2016, 18:48)