Results 1 to 2 of 2

Thread: Tab Content script

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

    Arrow Tab Content script

    1) Script Title: Tab Content script and Switch Content Script II

    2) Script URL (on DD):

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

    3) Describe problem:


    http://www.labedainerieshop.com/test.html

    you can see the 2 javascript

    http://www.labedainerieshop.com/menu.js
    http://www.labedainerieshop.com/tabcontent.js.


    You can see the conflict, only one or the script 2 work well at the time, no sure is a cookie conflit, i'm not very well with Javascript and cookie

    thx a lot for your help, i'm desespered

  2. #2
    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

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page using the script. Please reinstate the notice first.


    Anyways, the only major conflict between the two scripts I see is that they both use a function named:

    expandcontent

    If you do a global search and replace on the switch content script changing all 4 instances of expandcontent to expandcontent2, that should take care of it. Worked here.
    - John
    ________________________

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

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
  •