Results 1 to 3 of 3

Thread: Numbered pagination

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

    Default Numbered pagination

    1) Script Title:
    Stepcarousel.js
    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm
    3) Describe problem:
    I don't want the pagination be some bullet thingy, i just want to see the numbers. Is there any way to acomplish this?

    thanks!

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

    Default

    It's certainly possible, though unfortunately not easily. The auto pagination code had images squarely in mind. Your best bet at the moment is just to manually include links within the pagination DIV that go to the desired panel(s), since the script supports the public functions stepTo() and stepBy(). For example:
    Code:
    <p id="mygallery-paginate" style="width: 250px; text-align:center">
    <a href="javascript:stepcarousel.stepTo('mygallery', 1)">1</a> 
    <a href="javascript:stepcarousel.stepTo('mygallery', 2)">2</a> 
    <a href="javascript:stepcarousel.stepTo('mygallery', 3)">3</a>
    </p>
    See the bottom of the script page for more info on these functions.
    DD Admin

  3. #3
    Join Date
    Feb 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks!!!! that will make it.

    and i have another question... how can i change the font color for the selected panel

    example:
    if i click "2" then 2 must change from red to black and if i click "3" then, 2 must change to red and 3 to black

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
  •