Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Source code |
1 |
onclick="openurl(http://www.krpano.com,_self);" |
: https://pame.virtualtuur.comThis post has been edited 1 times, last edit by "Tuur" (Oct 24th 2016, 10:01am)
This post has been edited 1 times, last edit by "indexofrefraction" (Oct 23rd 2016, 1:20pm)
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comi dont know why you people talk about "openRUK" ???
just see again here: http://krpano.com/docu/actions/#openurl
and here: http://krpano.com/docu/actions/#calc
you could do something like :
onclick="openurl('http://www.krpano.com',_self);"
calc would be needed to construct an url:
onclick="openurl(calc('http://www.krpano.com?startscene=' + scene[get(xml.scene)].index),_self);"
xml.scene contains the actual scene name,
so scene[get(xml.scene)].index delivers the actual scene index
so the calc just constructs : 'http://www.krpano.com?startscene=3' for example
ps, maybe this works too, already:
onclick="openurl(calc('http://www.krpano.com?startscene=' + xml.scene),_self);"
constructing : 'http://www.krpano.com?startscene=scenename'
and in general.. read the manual, try things, then read again and see that u missed smth![]()
best, index