Sie sind nicht angemeldet.

1

Mittwoch, 23. Juli 2014, 01:57

Passing Variables via Javascript Between HTML5 Multiresolution & Regular Panos

Hello Krpano Community and Klaus!

I am at the end of my wits trying to get this to work. *cursing* I would greatly appreciate any help you could provide.

I have two instances of krpano running, similar to this example. The first is a typical virtual tour with multiple scenes. The second instance is a large image map using HTML5 Multiresolution. I have hotspots on the image map and, for the life of me, cannot figure out how to trigger 'loadscene' from the HTML5 Multiresolution hotspot to change the scene in the regular virtual tour.

I have perused all of the javascript examples, and the documentation here and here to no avail. I have disabled the local flash security settings. Below is what I currently have, I am using 'loadpano' for simplicity, but would prefer 'loadscene':

Once again, I would appreciate any assistance, and I thank you in advance.


Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »the1337ski« (23. Juli 2014, 23:28)


2

Donnerstag, 24. Juli 2014, 11:33

Hi,

take a look into the html and xml files of this example:
http://krpano.com/stereo3d/indiantemple/sbs3d.html

there the panos will call external javascript functions and these functions will call back to both viewers.

e.g.
pano1 call => js => pano1+pano2
pano2 call => js => pano1+pano2

Best regards,
Klaus