Log in

View Full Version : I need Help with Pagination



blastup
10-21-2006, 11:55 PM
i found this http://www.dynamicdrive.com/style/csslibrary/item/css-pagination-links/pagination code.. I need help with it... Do you have to manuely change the color everytime. of the page backgournd?
Can the pagination to be automated.. like the color auto changes when i go to another page the active page.? Idk if the script changes the color automatically but it doesn't look like it. Can you help me..?

i made one at http://awardbox.com/style.php but the color don't change auto...

the-disturbed
10-22-2006, 12:24 AM
should be in DD script help

blm126
10-22-2006, 02:16 AM
The server side code should take care of that. If you aren't using anything servers side, then yes you have to do it yourself.

blastup
10-28-2006, 05:51 AM
How do you make server side code? So with out server side code it wont change colors... i just want to make the colors switch on the active page but it don't do anything... Please help just started webmaking so still amatuer. Thanx

sandman
11-03-2006, 07:59 PM
you can do it 2 ways. Make your link a block level element


.linkclass a {
display:block;
float: left;
width: 40px;
height: 40px;
background-color: blue;
}

.linkclass a:hover {
color: gray;
background-color: black;
}



Or leave your links as inline and just add padding.


.linkclass a {
padding: 20px;
background-color: blue;
}

.linkclass a:hover {
color: gray;
background-color: black;
}



Overall you'll have much more control with the first way.

blastup
11-08-2006, 02:25 AM
sandman thanx 4 reply but does the code make the color change automatically when on an active page?
i tried it but i don't really think it works?

can anyone give me a server side code? to test the css?
i don't know how to make one?thanx