PDA

View Full Version : Tab Content script



feniksdesign
09-11-2006, 06:35 PM
1) Script Title: Tab Content script and Switch Content Script II

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.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

jscheuer1
09-12-2006, 06:31 AM
Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), 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.