Results 1 to 3 of 3

Thread: Disable loop in the Featured Content Glider

  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Disable loop in the Featured Content Glider

    1) Script Title: Featured Content Glider

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

    3) Describe problem: Hi everyone, I've just implemented the Featured Content Glider script on my new website and I'm loving it, it's great, good-looking and easy to use. But I'd like to disable the default loop mode making the script go back to the first glider content when you press "Next" while displaying the last glider content.
    I'm using the "Prev / Next" glider content toggler and would like to give the feeling that there is a beginning and an end in the content I'm displaying part by part, that's why I'd like the Prev. button to be disabled when the current glider content is the first one, and the same with the Next button and the final glider content.

    As you can imagine, I'm really not familiar with JS, I can partly modify a few things but couldn't, for now, create a function disabling something when some point is reached...

    Any help would be appreciated !

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

    Default

    Sure, try the below modified .js file, which disables the prev/next buttons when the user is at the 1st and last slides, respectively.
    DD Admin

  3. #3
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks a lot, that's perfect !

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
  •