JSSOR Uncaught Error: prototype of 'thumbnavigator' not defined

南楼画角 提交于 2019-12-13 00:48:47

问题


I used jssor for image slide show in that if user clicked play show first time it works properly but if user clicking the play button again to initiate player even it is already loaded with another group of images. It shows this error Uncaught Error: prototype of 'thumbnavigator' not defined.


回答1:


Jssor Slider cannot initialize the same "slider container" twice.

Please remove it and repopulate html code and then initialize it again.

$("#slider1_container").remove();
//do something to repopulate the "slider1_container" element.
...
var jssor_slider1 = new $JssorSlider$("slider1_container", options);


来源:https://stackoverflow.com/questions/25357001/jssor-uncaught-error-prototype-of-thumbnavigator-not-defined

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!