Multiple sliders don't work in one page
Hi,
Thanks for pointing me to understand this.
So I tried using this code:
$(document).ready(function(){ $("li").click(function(e){ $('#new-royalslider-3').royalSlider('updateSliderSize', true); }); });
I call to any "li" element because the page has only 4 "li" elements which are the tabs.
I tried various on selectors, nothing helped. the slider on the second tab (from right) is still 100px (instead of 100% or 960px), and the content inside is also hidden until clicked.
So, it seems like the function "updateSliderSize()" just doesn't work!
What do I do wrong?
Thank you,
Oren
Read more...
help.dimsemenov.com
No comments:
Post a Comment