You are not logged in.

1

Thursday, December 19th 2013, 10:55pm

Draggable Hotspots; How to Save new positions? (and why no text select?)

I've gotten the example (listed below) to work on my pano, and it's fantastic! Is there anyway to write the new hotspot position back to the xml file like the tour editor?

http://krpano.com/examples/116/examples/…e-hotspots.html

I've also noticed by the draggable hotspots example that I can copy the atv and ath (making it easier to copy paste the code) however my code doesn't allow for that; the cursor turns into a finger. What piece of code am I missing? I see there's a

<control keycodesin="" keycodesout="" />

which I think is what allows me to select the text, but maybe I've putting it in the wrong place?

Thanks!
John

This post has been edited 1 times, last edit by "Tebasaki" (Dec 19th 2013, 11:12pm)


Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Sunday, December 22nd 2013, 9:15pm

Yes write an action that fires from the onup from the hotspot that writes the hotspot tag or whatever data you want to a textfield which you can select. Use the clipboard plugin and it's copied.

http://krpano.com/plugins/userplugins/fieldofview/#top
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Tuesday, December 31st 2013, 11:55pm

Thanks for the suggestion. However, if I'm just straight up copying the code, what is different that's allowing the text to be copied on the example and yet not on mine?

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

4

Thursday, January 2nd 2014, 2:03am

show a link to your code.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

5

Thursday, January 2nd 2014, 10:17am

ve also noticed by the draggable hotspots example that I can copy the atv and ath (making it easier to copy paste the code) however my code doesn't allow for that; the cursor turns into a finger. What piece of code am I missing
Hi,

you might view the HTML5 version...
Only the Flash version allows selecting the text...

Best regards,
Klaus

6

Thursday, January 2nd 2014, 11:36pm

You are absolutely right. I switched the html5 to never and it worked like a charm!