I've got a site up at www.alexjamesfraser.com. It's using the Anythingslider jquery plugin big time. It works well enough under the latest versions of firefox and chrome but under IE9, the slider appears not to work at all. I have no idea why this is so and was hoping I could get some help here.
So, that's my question. I wish I could be more specific, but I'm sort of at a loss to even understand what I've done wrong. Hopefully some one can help and if you need any more information from me, please do not hesitate to ask.
Thank you very much.
I had to dig a bit, but I see the problem now. When AnythingSlider is initialized, it's on an empty list (I don't think
</li>
is really valid either, leave it empty or use<li/>
):which is fine, but then in the initialization callback, the current page is undefined because there are no pages:
caption function:
The
slider1.$currentPage
is undefined, and even theslider1.currentPage
value is zero.So, either remove the
onInitialized
functions, or update the caption after the slider gets updated with content.