Hello,
I was super happy with the above solution:
krpano.call("assignstyle(hotspot["+hs_name+"],'mystyle');");
This Javascript function worked great locally (with krpano Testing Server.exe)
After copying my tree structure on my website, online, I get this error :
(newHotspot is my style)
this error occurs each time I have the order
krpano.call("assignstyle(hotspot["+hs_name+"],'mystyle');");
and with all styles.
However the FichiersVBs/Def_Styles.xml is well defined in the tour.xml and it is well copied to the right place.
Do you have an idea
Thank you for your help
Best regards
Vincent