Results 1 to 5 of 5

Thread: Pagination for Featured Content Slider v2.4

  1. #1
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Pagination for Featured Content Slider v2.4

    Script Title: Featured Content Slider v2.4
    http://www.dynamicdrive.com/dynamici...tentslider.htm

    Hi there. I've tried to use the script. It's amazing and i can insert tables and divs.

    I'm a designer and don't know much about coding. Can you please help me this?

    Currently, the pagination may confuse the user as the slider may have more than 10 pages.
    Some of the feature need to be add in:
    1. Can i add pagination? such as Page 1 of 10?
    2. Can the previous button not to be shown/faded on the first page of the slide? and same goes to the next when it's at the last page?
    e.g:
    1st page: << < previous | next > >>
    2nd page: << < previous | next > >>
    last page: << < previous | next > >>

    Please advice.

    Attachment 3551

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    For #2, try the below modified .js file, which disables the "prev" and "next" pagination links when the user is at the 1st and very last slide, respectively. Note that you should also add a CSS at the top of your page, which determines how the disabled link should look:

    Code:
    <style>
    
    a.disabled{
    color:gray !important;
    text-decoration:none !important;
    }
    
    </style>
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    W_C (09-19-2010)

  4. #3
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    thank you ddadmin.
    the .js is perfect. But i pasted the style, but the color didnt change. Should it be paste onto the html page itself? I've tried, but it don't turn gray. did i paste onto the right location?

  5. #4
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    As for the #1, i guess i didn't explain in detail. Sorry.

    Actually i wan to have a pagination just like www.yahoo.com (today section - right in the center). The page number will change after clicking to the next button.
    How could it be done? It is regarding the onChange? Can you show me step by step? I really feel helpless about scripting

  6. #5
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    For #2, try the below modified .js file, which disables the "prev" and "next" pagination links when the user is at the 1st and very last slide, respectively. Note that you should also add a CSS at the top of your page, which determines how the disabled link should look:

    Code:
    <style>
    
    a.disabled{
    color:gray !important;
    text-decoration:none !important;
    }
    
    </style>

    Yes! Finally got it done. At first i tried with Adobe Dreamweaver CS5, it doesn't work. then i tried with MX2004, it works nicely. thanks.

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
  •