views:

41

answers:

0

Hi all...

I need jquery pagionation with history support. I've looked at tons of pagination and this works best to me: http://plugins.jquery.com/project/pagination ([demo page])1

Works great! Pages are made dynamically and the script is using OOP which I don't quite understand.

But it has no back button/history support which I really need. So I tried integrating something like:

http://benalman.com/projects/jquery-bbq-plugin/ inside. I managed somehow to make it work (next page was loaded), but all the history plugins don't work as I would think they would (I guess they can not). I thought that the page I have loaded using load() would be cached and when browser back is pressed it would take from cache. But it doesn't happen. All the scripts seem to give me an option to use something like "onHashChange" callback to do something. It's up to me to reaload the previous page (which loads it again, instead takes it from cache). So I have to make whole callback behavious again. I managed to do the load, but how to change the pagination active page inside of it's object is too much for my knowledge (been on this for 3 days now)...

So I am still searching for jquery pagination plugin that would have back button support built in and would use load() database calls (not just hiding and showing divs), because I have too huge page to load all 311 object in it at once and hiding and showing it.

If anybody knows how to integrate some sort of back/history into the pagination module, I would gladly take the solution ;-) Either this or another plugin that supports history or is not make so smart using OOP that I can not bind onclick on the pagination (it get's lost in this plugin).

Thanks a lot

Jerry