You are not logged in.

1

Saturday, June 7th 2014, 6:01pm

Call parameters

Hi there,

a modificated examples.xml dosn't work. Know any one why ?

<layer name="bsp15" style="button" align="righttop" x="10" y="115" html="Somethimgs" onclick="loadexample('myfile.xml', tour=no&lang=en&view=someone);" />

<action name="loadexample">
delayedcall(0.7, loadpano(%1, %2, MERGE, BLEND(0.5)) );

</action>

And i get an error "xml parsing filed"

Kind Regards,
Zachi

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Saturday, June 7th 2014, 6:49pm

VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

3

Saturday, June 7th 2014, 7:05pm

Thanks,

but i just found the error ..... the documentation on krpano.com has an error ....

if you call the function loadpano() with more than one varaiable you have to call it with double "&&" and not with only one as in dokumentaion wroten !

@Klaus ...... can you correct the dokumentation ?

Kind Regards,

Zachi

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

4

Saturday, June 7th 2014, 8:43pm

actualy the &amp; must be instead of &

for example
?somevar=val&nextvar=val2 - must be - ?somevar=val&amp;nextvar=val2

Andrey

PS - i see it in first time - about &&
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN