Hi,
I'm developing plugin using java script in krpano. I read document to develop it but I can't do it.
Now I want to draw a button and display it in vtour and add function to the button.
Thanks for helps
Is there a reason you don't want to do it in krpano? It's a lot easier and mostly the same. Just a bit more javascripty. It is faster though if you need to make a couple thousand buttons at once.
Try reading the basic krpano documentation first.
a normal krpano button would be
<layer name="button" url="button.png" enabled="true" keep="true" visible="true" onclick="myfunction();" />
in the javascript plugin you're doing the same thing but on a lower level one attribute at a time.
Sorry about my english...
I want to add button from plugin not direct by code in tour.xml
I want when I call plugin from website, plugin will be load with vtour with button. If without plugin, no button is display.