Results 1 to 8 of 8

Thread: error with dynamic tab content script

  1. #1
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy error with dynamic tab content script

    1) Script Title:
    Dynamic tab content script

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

    3) Describe problem:

    I've a problem in my page with this part of code:
    HTML Code:
    <script type="text/javascript">
    //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
    initializetabcontent("maintab")
    </script>
    My page under this script isn't post! Whats prevent dynamic tab!

    I'm sorry, but i don't english, i'm French!

    Thank you!

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

    Default

    I'm not sure I understand your question. Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    thid is my normal page:



    This is my page when the script here:



    when I delete this part of code:
    HTML Code:
    <script type="text/javascript"> //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma. initializetabcontent("maintab") </script>
    The page is normal!

    Thank you!
    I'm sorry for my language!

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

    Default

    Hi:
    It's hard to tell from the screenshots. Is the page live? If so please post the URL here. Just looking at your code, it's possible you forgot to separate the comment and the actual invocation of the script with line breaks. It should look like:

    Code:
    <script type="text/javascript"> //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
    initializetabcontent("maintab")
    </script>

  5. #5
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    My page is not on line!
    The comment it's not the problem, but the function was create the problem!!!

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In any case, this will never work:

    Code:
    <script type="text/javascript"> //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma. initializetabcontent("maintab") </script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry, it's not the problem!
    The problem comes to the functions!

  8. #8
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've testing my scripts!

    It's this part of code when create the bogue!
    I've move the code in tabcontent.js and the page it posted correctly!
    But the dynamical tabs not function!

    Because?
    Where i do the code in my page?

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
  •