How can I alter anythingSlider so that it disables the next / previous buttons when only 1 <li> in t
Posted
by madphill
on Stack Overflow
See other posts from Stack Overflow
or by madphill
Published on 2010-05-12T00:48:06Z
Indexed on
2010/05/12
0:54 UTC
Read the original article
Hit count: 289
I have a page with multiple instances of anythingSlider on it and I'm using PHP to dynamically load pages that swap out the content in them.
Reference: http://ceedcreative.com/CEED_2.0/
I would like to edit the anythingSlider to disable the previous / next buttons if the UL it's displaying only has one LI within it.
In other words, no buttons, just a clean div that's the same heigh and width (no scrolling) if there's only one image.
© Stack Overflow or respective owner