I'll try this again.
I'm having trouble figuring out how to work with the Datatables plugin for jQuery in the fact that I need f开发者_Python百科or example if there are 3 numbered page links which would have the First, Previous, Next, Last links as well. If you were on page 1 then the First, Previous buttons should only have the pagination_button_disabled css applied to it but instead it ALSO has the paginate button and then the first or previous css style as well. I just want the first and last to have a css style of paginate_button_disabled if you are on page 1 and obviously revered if you were on page 3 then Last and Next should be disabled.
http://jsfiddle.net/Rx8se/
The pagination links should be like this: http://kansasoutlawwrestling.com/manager/index2.html
Notice the prev button is disabled css and how its crossed out of the jsfiddle.
Although I also agree that this question is unreadable in its current form, what little I can understand of it seems to describe verbatim the effects of the demo on the "dataTables > Development > Pagination" example.
It includes 4 button pagination (first, previous, next, last) with classes applied appropriately to disable functionality of unusable buttons.
精彩评论