close panorama

krpano Javascript Interface Version 1.0.7

The krpano object exports this 3 functions to javascript:

set(variable,value) ... sets the variable to the value
get(variable)       ... returns the value of the variable
call(action)        ... calls a action

variable - can be any of the API varibles descriped in here: API
value - the value of / for this variable
action - any of the actions descriped in here: Actions

more documentation coming soon...

have a look at the sources of these examples for the moment:


Javascript Example 1

Javascript Example 2

Javascript Example 3