Sie sind nicht angemeldet.

1

Donnerstag, 19. Dezember 2013, 22:55

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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tebasaki« (19. Dezember 2013, 23:12)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Sonntag, 22. Dezember 2013, 21:15

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

Dienstag, 31. Dezember 2013, 23:55

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?

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Donnerstag, 2. Januar 2014, 02:03

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

5

Donnerstag, 2. Januar 2014, 10:17

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

Donnerstag, 2. Januar 2014, 23:36

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

Ähnliche Themen