You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, August 8th 2019, 3:03pm

accessing xml from plugin.js (javascript file)

Hi,
I am reading documentation but I cannot find how to do the following.

I have in the xml file:

<plugin name="myplugin" devices="html5" type="container" ........ url="myplugin.js" >

<layer name="mylayer" .................. />
</plugin>

Would it be possible to add attributes and set value to "mylayer" from "myplugin.js"?
How?

Thank you.

Regards,

Giuseppe