Hello,
is it possible to pass string with xml structure from javascript to embedpano like below sample :
var myxml = "<krpano onstart=\"loaddefault()\" >";
myxml += "<include url=\"panomaps.xml\" />";
myxml += "<include url=\"navigationhide.xml\" />";
myxml += " <include url=\"buttons-png-include.xml\" />";
myxml += "<image>";
myxml += "<sphere url=\"http://www.wowpassport.com/pano/mall.jpg\" />";
myxml += "</image>";
myxml += "</krpano>";
embedpano({swf:"krpano.swf", id:"krpanoSWFObject", xml:"+myxml+", target:"krpanoDIV", width:"860", height:"420"});
or isnt there any way instead of xml .
thanks for your time
best regards