is there a way to initialize the slider after the page is loaded?
When I try to initialize the slider in the FF console (meaning after the page is loaded, it is not initializing the slider.
here is the code http://store.amadesa.com/demo/slider/test.html
you wil lfind 2 sliders, 1 is initialized in the js file and the other one is not.
Execute this in the console:
var Asian = new ThumbnailSlider(AsianMovies)
it does not initialize the slider.
Can you help?
SInce release v2012.9.9 the menucool image slider supports this "Load on Demand" feature by calling:
You can call the build-in function shown above at any time when the slider markup is ready.
Note: Ignore other outdated posts.
Can you firstly make one working, then add another?
Not sure that I understand. I need to initialize the slider after the page is loaded.
I provided 2 sliders in the example just to show one that is working (initialized before page load) while the other is not working (initialized after page load).
I found a workaround but I would like a more standard solution.
And what is your
in the menucool I changed the script not to subscribe to the page load event, but rather my custom event. I fired the custom event when the data was ready (after page load).