Wrong Pager Item Highlighted


It appears that the active pager item isn't working properly because there are two script tags inside the ordered list that is used for the pager. In the Chrome dev tool you can watch the script tags get the activeSlide class assigned to them. If you have
three images you are going through, when the third is displayed you will see the pager highlight the first item. This does not appear to be browser specific. Can anyone else confirm this or know a workaround?


Edstrodamous wrote Jul 25, 2012 at 2:03 PM

I came across the same issue,

i just made this as a work around, it simply moves the list items up the document tree above the script tags and then sets the activeSlide to the first item. Seems to work so far although using pseudo classes the compatibility won't be as high.
<script type="text/javascript"> $(document).ready(function() { $(".wnsSliderPager li").prependTo(".wnsSliderPager"); $(".wnsSliderPager li:first-child").addClass("activeSlide"); }); </script> cheers Ed

wrote Feb 14, 2013 at 7:35 PM

hismightiness wrote Aug 31, 2015 at 5:00 AM

If this is still an issue, please create a new one at the location below, and include any screenshots, versions, and errors as necessary.