开发者

How can I change the number in the pager string using the jQuery plugin bxSlider?

开发者 https://www.devze.com 2023-04-11 18:58 出处:网络
I\'m using a plugin called bxSlider. It\'s a nice little image slider plugin wi开发者_如何学Pythonth a very handy API.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号