ryrych / rcarousel

yet another jQuery UI carousel
http://ryrych.github.com/rcarousel/
171 stars 48 forks source link

Having only one item to show #43

Closed pvdrijst closed 12 years ago

pvdrijst commented 12 years ago

I'm building the slides dynamically, when I only got one slide to show two pages are generated. You can simulate this behavior by using the html version in your example, remove all the slides except one and open it.

ryrych commented 12 years ago

If you mean the output of getTotalPages of 2, this is fixed in the testing repo. And now you can assume that if visible=1 and getTotalPages returns 2, it is 1 actually.

pvdrijst commented 12 years ago

Awesome, thanks for your reply!

2012/6/11 Wojciech Ryrych < reply@reply.github.com

If you mean the output of getTotalPages of 2, this is fixed in the testing repo. And now you can assume that if visible=1 and getTotalPages returns 2, it is 1 actually.


Reply to this email directly or view it on GitHub: https://github.com/ryrych/rcarousel/issues/43#issuecomment-6248354

Met vriendelijke groet, Tricode Business Integrators BV

Patrick van der Rijst Developer

T: +31 (0)318 55 92 10 F: +31 (0)318 65 09 09 E: pvdrijst@tricode.nl W: www.tricode.nl

De Schutterij 12, 3905 PL Veenendaal, The Netherlands | KVK 30183142

ryrych commented 12 years ago

Fixed in the testing branch. Soon in the new stable one.