You are not logged in.

1

Monday, January 14th 2013, 11:48am

Add hotspot with external url link and custom title

Hi, i want add a hotspot with a event "onclick" for to open a new webpage, i have try with:

Source code

1
<hotspot name="esci" url="skin/vtourskin_hotspot.png" scale="0.5" ath="-116.937" atv="11.268" onclick="openurl('http://www.meloda.it',_self);" />



but is not working, what is wrong?
Thanks.

This post has been edited 1 times, last edit by "grollaz" (Jan 14th 2013, 12:27pm)


2

Monday, January 14th 2013, 12:19pm

Ok, i have see that was my writing error for not working link, now,
how i can add a title over external link hotspot?

Thanks.

Taurus

Trainee

Posts: 140

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

3

Wednesday, January 16th 2013, 6:51pm

if I understood you correctly, you need to use an event onhover

Source code

1
<hotspot name="esci" url="skin/vtourskin_hotspot.png" scale="0.5" ath="-116.937" atv="11.268" onhover="showtext(any text as you need)" onclick="openurl('http://www.meloda.it',_self);" />

Best regards!
--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.20

4

Wednesday, January 16th 2013, 8:38pm

Perfect, thanks!