Results 1 to 3 of 3

Thread: Tab Content Script (v 2.0) 2 in 1 page not working

  1. #1
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Tab Content Script (v 2.0) 2 in 1 page not working

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

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

    3) Describe problem:Hello, I'm trying to get 2 of these content tabs or more on one page. But my second one won't work I guess because its conflicting with the first one. I've put xhtml search scripts in each tabs div.

    I am using the first Demo.

    Heres one I've made.
    http://www.plentyoftorrents.com/web/


    And I want to put this one on the same page as the first one.
    http://www.plentyoftorrents.com/audio/audio.htm

    Thanks.

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

    Default

    The script does support multiple instances. For example, on the DD script page, there are 3 examples. Just make sure the variables for each instance on your page are unique per the documentation.

  3. #3
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Ah, ok I see what I was doing wrong now. I was changing those div ids without changing the var values. below.

    Thanks.

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
  •