Tribute, great programmer, hard work!
Posts by kjmou6688
-
-
-
-
Hi,
when you already pass/set a variable named 'title', you don't need to define it again by .
Additionally it might depend on the further usage of that title variable what will happen (e.g. when the skin will access/read it). So depending on the usage, it might be necessary to pass/set it via the 'initvars' embedding parameter:
https://krpano.com/docu/html/#initvarsBest regards,
Klaus
thank you,Klaus.I have solved myself。 -
Hi,klaus sir
I am a krpano beginner,From Beijing, China.
consult,Html variable to XML and display the problem.
The following code,In html inside.I would like to customize the variale title: "AAAA" to XML and then show it in the scene. But unsuccessful.
embedpano(
{
swf:"http://111.12.23.232/PanoSkinCmd/js/krpano.swf",
xml:"index.xml",
target:"XMjUxNjQ3MDYxMg",
id:"XMjYxOTQ1Mzg2MA",
html5:"auto",
wmode:"transparent-flash",
mobilescale:0.5,
consolelog:true,
mwheel:true,
passQueryParameters:true,
//fakedevice:"",
bgcolor:"#000000",
onready:krpanoReady,
initvars:{YXB:"http://111.12.23.232/PanoSkinCmd",title:"AAAA"},
}
);Here is the form of the variable call in XML,But not shown.Do not know why? Is i calling xml in the display text form wrong?Confused, please advise, thank you。
<krpano version="1.19" title="%$title%" debugmode="false" showerrors="true">
If this is not the case, there is no other way to html inside the one or more custom variables can be to xml and displayed in the viewer.