Results 1 to 6 of 6

Thread: Dynamic Tabs Content: cycle through tabs just once

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

    Default Dynamic Tabs Content: cycle through tabs just once

    Hi, I am using Tab Content Script (v 2.2) on my website,

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

    at the moment it cycles through the tabs constantly in slideshow mode
    which is good but I would like it to cycle through once and stop on the last tab. Is such a thing possible?

    Thanks in advance.

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

    Default

    DD Admin

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

    Default

    Thank you very much.

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

    Default

    Ok that works fine to stop it after x number of loop through all tabs which is great the first time the page is viewed.

    However, What I would like is it to stop looping on tab X (say tab 5) regardless of what tab the cycle started on.

    so it might go:

    tab 1, tab 2, tab 3, tab 4, tab 5 STOP!

    but also if the viewer is already looking at tab 3 when the page is loaded or refreshed or returned to:

    tab 3, tab 4, tab 5 STOP!

    Just need it to stop cycling on tab X where tab X is the last tab in the row of tabs.

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

    Default

    Ah, well in that case, try the below modified .js file instead.
    DD Admin

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

    Default

    Thank you - works perfectly

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
  •