Results 1 to 2 of 2

Thread: Featured Content Glider - custom buttons

  1. #1
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Featured Content Glider - custom buttons

    1) Script Title: Featured Content Glider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentglider.htm

    3) Describe problem: I am currently using the Square CSS buttons for my script. Is there a way to change the buttons (1, 2, 3, Back, Forward) to ones that I create myself? How would I change the CSS to make it work?

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

    Default

    The pagination links for each slider is just plain HTML, so you can simply replace what you had with the markup for the new buttons. What transforms the buttons into pagination links is the presence of certain CSS class names added to them:

    toc: A link with this CSS class will act as a pagination link. You should define as many such links as there are gliding contents to show. You do not necessarily need to know in advance how many gliding contents there are, however, as redundant "toc" links will automatically be hidden by the script.

    prev: A link with this CSS class moves back the shown content by 1.

    next: A link with this CSS class moves forward the shown content by 1.
    Please see the script page for details on this.
    DD Admin

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
  •