Results 1 to 5 of 5

Thread: Content slider

  1. #1
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Content slider

    http://www.dynamicdrive.com/dynamici...tentslider.htm

    Hi, i'm using this 1. slider.. is it possible to put picture instead this numbers?

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

    Default

    Sure, if you look at the 4th demo on the script page, you'll see that the navigation links in that case are image thumbnails. To do this, just set the "toc" option to "markup", so you can use arbitrary HTML for each of the navigation link's markup.
    DD Admin

  3. #3
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i'm noob.. i changed it but nothing is happening :S

    where to put picture's?

    i have one more question.. can i intergrate some news into this slider?

    example: cutenews

    http://cutephp.com/

  4. #4
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    please help :S

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

    Default

    Please read the "toc: markup" section on the supplementary page- it explains how to use images as the pagination links in detail. Basically the images would be defined as regular IMG tags within the pagination DIV and each carrying a CSS class of "toc":
    Code:
    <a href="#" class="toc" style="margin-left: 35px"><img src="horses_thumb.jpg" /></a> <a href="#" class="toc someclass"><img src="pine_thumb.jpg" /></a> <a href="#" class="toc someotheclass"><img src="ocean_thumb.jpg" /></a> <a href="#" class="toc someotheclass"><img src="sushi2_thumb.jpg" /></a>
    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
  •