Hi everyone,
Could anyone please tell me what is the code for smf style pagination?
Take a look at the constructPageIndex() (http://support.simplemachines.org/function_db/index.php?action=view_function;id=213) function in the function database.
Thank you for this link :) is it possible if i can find this code somewhere on script? In SMF Files?
It's a very large, very nasty chunk of code in Subs.php.
You will get better results if you explain what you're trying to do.
I have a comment system and i want to use this pagination on that using jquery.
Which won't work since jQuery exists on the browser, and SMF's pagination exists on the server. You could make the look the same but you will definitely not he using SMF's code to do it.
What do you mean by you want to use this pagination using jQuery? What are you wanting jQuery to do?
This is what I mean http://flaviusmatis.github.io/simplePagination.js/
So a completely different piece of code to SMF then.