Calling a JavaScript function from QT hotspot

Q&A about the latest versions
Post Reply
wolff
Posts: 114
Joined: Mon Feb 18, 2008 11:15 am

Hi there,
is it possible to call an external JavaScript function from an panorama area hotspot to open the next panorama?
(I tried javascript:onclick="pano2();" , where the "pano2()" is the function that opens the next Panorama within the Html, but it didn't work.)

Thank you for any help!

Regards,
Wolff
Last edited by wolff on Sat Dec 18, 2010 12:15 pm, edited 4 times in total.
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
Please see Here: http://gardengnomesoftware.com/wiki/Pan ... Script_API
Not sure if its exactly what you want but should point you in the right direction.
Regards
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
wolff
Posts: 114
Joined: Mon Feb 18, 2008 11:15 am

Hi Hopki,
Thanks for the advice. I've come across the API before - but in fact I'm working without any GG template or the GG js file and without any flash!
I try to make my own Quicktime panorama module, but if it comes to hotspots I'm missing something: In flash we use the IDs and proxies to identify a hotspot marker on the floorplan to the hotspot itself (and vice versa). But with Quicktime this is not possible.

Any ideas? Or am I missing something (else ;) )?
Best regards, W.
wolff
Posts: 114
Joined: Mon Feb 18, 2008 11:15 am

It seems that it's not possible to call a function from a Quicktime hotspot anymore (or at least not much more than javascript:window.open(...).

http://developer.apple.com/library/mac/ ... Script.pdf
Important: Starting with QuickTime 7.1.5, you can no longer issue javascript:// URLs or call JavaScript functions
directly from within a QuickTime movie. This feature was removed from QuickTime for security reasons. This
document includes techniques for working around this change.
:(

Regards, W.
Post Reply