You are not logged in.

1

Friday, May 10th 2013, 12:00pm

Loading plugin after panorama has been loaded.

Hey,

Is there a way to make my plugin(self-made gallery) start loading after the panorama is fully loaded?

I dont want to make people to wait with viewing panorama untill the gallery is loaded as well :)

I saw a zorder element but it does not rly work for me(i've set zorder=30 for my gallery).

Perhaps im using it wrong :)

2

Saturday, May 11th 2013, 3:19pm

Hi,

the onloadcomplete event can be used to do things after the loading of the pano images is done.

The zorder setting controls only the deep (z-axis) sorting of graphical elements and doesn't have any influence on the loading order.

Best regards,
Klaus

3

Saturday, May 11th 2013, 4:49pm

Would you be so kind to point out the function to load the plugin I am supposed to insert in the event line?

Will something like "load(plugin[XYZ])" work?:)

Source code

1
<events onloadcomplete="..."/>

4

Saturday, May 11th 2013, 4:54pm

Hi,

you could either leave the url empty - e.g. url="" - and then set it later on the event,
or create the whole element dynamically via addlayer/addhotspot.

Best regards,
Klaus