JSSOR Uncaught Error: prototype of 'thumbnavig

2019-08-15 06:39发布

问题:

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);


标签: jssor