Results 1 to 6 of 6

Thread: I need Help with Pagination

  1. #1
    Join Date
    Oct 2006
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation I need Help with Pagination

    i found this http://www.dynamicdrive.com/style/cs...ination-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...

  2. #2
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    should be in DD script help

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    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.

  4. #4
    Join Date
    Oct 2006
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  5. #5
    Join Date
    Sep 2006
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    you can do it 2 ways. Make your link a block level element

    Code:
    .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.

    Code:
    .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.

  6. #6
    Join Date
    Oct 2006
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •