Results 1 to 4 of 4

Thread: Tab Content Script (v 2.0)

  1. #1
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Tab Content Script (v 2.0)

    1) Script Title: Tab Content Script (v 2.0)

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

    3) Describe problem:

    Before, I asked for a help to add glowing effect in tab content script. Its working perfectly thanks again for that. This time, I am wondering how it is possible to add NEXT / PREVIOUS buttons to it like the one at gliding script. Do I need to modify js codes?

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

    Default

    Hmm looks like this is going to be a lot more involved than the previous hack. I'll try and get back to this thread when I have time- no promises though.

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

    Default

    Ok, the below tabcontent.js adds a new function, cycleit(direction), that lets you cycle through the tabs on demand. Whereas before you could only do:

    Code:
    <p><b><a href="javascript: countries.expandit(4)">Click here to select last tab</a></b></p>
    Now you can also do:

    Code:
    <p><b><a href="javascript: countries.cycleit('forward')">Move Forward</a></b> | <b><a href="javascript: countries.cycleit('back')">Move Backwards</a></b></p>

  4. The Following User Says Thank You to ddadmin For This Useful Post:

    yeniuye (02-22-2008)

  5. #4
    Join Date
    Feb 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Once again, thank you very much!

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
  •