Hello,
I am new to krpano and I totally love what I have seen so far. Simply the best pano viewer. Great work Klaus and everybody else who has contributed.
At the moment I am trying to figure out what is possible with this tool, so I decided to write a simple navigation. The basic idea is that a textfield opens when the user clicks on a button and closes again on the next click on the button.
Here is the action I wrote for it:
<action name="callhelp">
var helpvis = get(plugin[helptext].visible);
if (helpvis == "false") {
set(plugin[helptext].visible,true);
}
else {
set(plugin[helptext].visible,false);
}
</action>
It does not return an error once it is loaded, however if I click the button nothing happens.
The basic version of it with the following action works fine, so it must have to do with the variable and/or if statement. Based on the documentation I am not even sure if javascript is possible in the xml file.
Help would be greatly appreciated,
Magnus
Edit: I am using the 1.0.7 demo for testing.