the next / nextPage links should get the deactivated-class, if there are less items than size. (tested with ff3 / ie7 and v1.1.0/1)
itemcount less size: next(Page) won"t deactivate Created Sep 19, 2009
This thread is solved
Views: 2745 Replies: 4 Last reply Nov 5, 2009
You must login first before you can use this feature
Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.
Posts: 1838
Registered:
Nov 16, 2007
Reply to:
itemcount less size: next(Page) won"t deactivate , from
sb3den
you are right. added to my TODO list.
Reply to:
» itemcount less size: next(Page) won"t deactivate , from
tipiirai
hi tero!
thanks for the new release. i've tested a little bit and recognized, that i wasn't quite right. the deactivated-class should also be assigned, if item-count equals size.
for all who also need to fix this:
search:
replace:
thanks for the new release. i've tested a little bit and recognized, that i wasn't quite right. the deactivated-class should also be assigned, if item-count equals size.
for all who also need to fix this:
search:
if(r.getSize()<m.size)
replace:
if(r.getSize()<=m.size)
Reply to:
» » itemcount less size: next(Page) won, from
sb3den
Thanks a lot for your fix. I'm just starting to use jquery plugins and experienced this problem.
Reply to:
» itemcount less size: next(Page) won"t deactivate , from
tipiirai
Hi,
I know that it was released on the recent version 1.1.2 (Scrollable), that next and nextPage buttons are disabled when the item count is less than the scrollable size. It was a must. Congratulations for your work!
But in opinion it does not makes sense that next nextPage and buttons are available when item count is EQUAL than scrollable size too.
So I make a little change on version 1.1.2 (Scrollable) and leave it here for all who need to change this:
search:
if (self.getSize() < conf.size)
replace
if (self.getSize() <= conf.size)
I know that it was released on the recent version 1.1.2 (Scrollable), that next and nextPage buttons are disabled when the item count is less than the scrollable size. It was a must. Congratulations for your work!
But in opinion it does not makes sense that next nextPage and buttons are available when item count is EQUAL than scrollable size too.
So I make a little change on version 1.1.2 (Scrollable) and leave it here for all who need to change this:
search:
if (self.getSize() < conf.size)
replace
if (self.getSize() <= conf.size)
