sullyman Posted June 27, 2008 Share Posted June 27, 2008 Hi folks, Need help with a pager with a php program i am using. Within a text ini file that i can change, the page_nav is the following. page_nav = "[<<]|previous page|next page|[>>]" which shows [<<] [<] 31 32 33 34 35 36 37 38 39 40 [>] [>>] etc. I then call the pager on a template file with the following code ##pager## How can i get the pager to look like the picture attached used on the Yahoo search site. I have the correct Css code for the pager but do i have to edit php somewhere for this to work. Thanks, S [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/112180-pager/ Share on other sites More sharing options...
JD* Posted June 27, 2008 Share Posted June 27, 2008 You'll have to figure out if each of those numbers has a class or ID assigned to it and then either make sure your CSS reflects it, or add the id/class to your numbering. Quickest way to find out is to read the source code, or you can install the web developer bar in Firefox and use the Outline->Current element tool, which shows you everything about the current element when you put your mouse over it. Link to comment https://forums.phpfreaks.com/topic/112180-pager/#findComment-575913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.