Javascript interface with jQuery?
-
-
HI
Why? why you dont want to use document.getElementByID? :)
As i know $() function return jQuery object so not sure it's good way (not test it btw) ;)
You can use any lovely framework for html but simple get krpano js object by document.getElementByID that's all
And, if you want to do something with pano container <div id="pano>
then you can use jQuery ofcourse (hide fade show and so on)Regards
Andrey -
Just put the normal var krpano after your embed, and then it will be available in all scopes. See the javascript example in the krpano examples folder for regular javascript usage.
-
Hello,
is it possible to use the javascript-interface with jQuery?The html page plugin allow to use jQuerry in your tour.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!