How can I change the number in the pager string using the jQuery plugin bxSlider?
I'm using a plugin called bxSlider. It's a nice little image slider plugin wi开发者_如何学Pythonth a very handy API.
I was wondering if there is a way of changing the number of slides that will be displayed in the pager string. I'm looking to add a blank slide at the end, but I don't want it to display in the navigation. EG;
I have five slides (four with content and one blank) and I want the pager to display 1/4.
You can change the number of slides by adding/removing li
's from the content
<ul id="slider1">
<li>Slide one content</li>
<li>Slide two content</li>
<li>Slide three content</li>
<li>And so on...</li>
</ul>
Perhaps that is not what you meant though by 'the pager string'? Please clarify
精彩评论