You are not logged in.

Kholdave

Beginner

  • "Kholdave" started this thread

Posts: 5

Location: Bogotá, Colombia

Occupation: Creative Director at en360

  • Send private message

1

Wednesday, April 29th 2015, 8:37pm

Move image hotspot and link it to external url

Hello! actually i am working on a mini game, this is something new for me and i have 2 questions plz!

1-I´ve been trying to add and external url link to an image hot spot but nothing happends, i saw in docomentation how to link an url and this is what i did:


<hotspot name="enlog"
url="keeptrying.png"
ath="0"
atv="90"
distorted="true"
scale="1.0"
onclick="openurl('http://www.en360g.com/',_blank);" />
the hand cursor appears when im over it but when i click nothing happends :S


2- How can i move the image hotspot where i want to? x="415" y="215"? i tried but nothing happends, help plz!



Regards

Dave.

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Thursday, April 30th 2015, 12:23pm

Hi)

If you test locally, openurl won't work. It only works on server or when you use Krpano testing server http://krpano.com/tools/ktestingserver/

You can move hotspots - make them dragable. See example inside your Krpano download package (Krpano/examples/xml-usage/dragable-hotspots)
Regards,

Alexey

Kholdave

Beginner

  • "Kholdave" started this thread

Posts: 5

Location: Bogotá, Colombia

Occupation: Creative Director at en360

  • Send private message

3

Monday, May 4th 2015, 10:27pm

ty!

Nice! thx for your help! now everything is working fine!