How can I write a lamp Forum program that achieves the same paging effect as a CSDN forum? Now I am working on a lamp Forum program to achieve the same paging effect as the CSDN forum page. how can I write it? Hope you have a finger, thank you! PS: My pages are well written, but there is no color change. that is to say, people are not sure which page they are seeing now ...... ------ Solution ---------- How can I write a lamp Forum program that achieves the same paging effect as a CSDN forum?
Now I am working on a lamp Forum program to achieve the same paging effect as the CSDN forum page. how can I write it? Hope you have a finger, thank you!
PS: My pages are well written, but there is no color change. that is to say, people are not sure which page they are seeing now ......
------ Solution --------------------
You can add a class attribute to the current page and add a style to it.
------ Solution --------------------
Find tag a on the current page and add a style to it.