Hi,
to 1)
the krpano viewer is just calling the javascript function, but it doesn't receive any return values,
you would need to make a callback from javascript to krpano to pass/return a value,
e.g.
xml:
|
Source code
|
1
2
|
js( gettext(var_content) );
showtext(get(var_content));
|
js:
|
Source code
|
1
2
3
4
|
function gettext(varname)
{
krpano.set(varname, ...);
}
|
to 2)
yes, that would be a possibility...
to 3)
the Flashplayer interface behind the
openurl() action allows only these target: _blank, _self, _parent, _top,
but instead of using the openurl() action it would be possible to call a own Javascript function, that opens a new window, of course,
best regards,
Klaus