javascript - Jssor force slide from an external html element -
i forcefulness jssor slide when click button.
when click little images (thumbs) in slider function navigationclickhandler called, , function defined within function:
function jssorslider(elmt, options) { (...) function navigationclickhandler(index, relative) { (...) } }
in order slide when click button, following:
jssor_slider1 = new $jssorslider$("slider1_container", options); jssor_slider1.navigationclickhandler(0, 'true');
but next error in firebug:
typeerror: jssor_slider1.navigationclickhandler not function
how can phone call function navigationclickhandler in onclick event of button?
thank much
jssor_slider1 = new $jssorslider$("slider1_container", options); //call $playto when button clicked jssor_slider1.$playto(3);
reference:
http://www.jssor.com/testcase/api-play-pause-goto-playto-test.source.html http://www.jssor.com/development/reference-api.html
javascript jquery html jssor
No comments:
Post a Comment