View Full Version : Switch Content Script little problem

06-20-2007, 01:11 AM
alright I got the code Switch Content Script from the Dynamic section and I add it twice on my page (click here (http://www.crashthenet.ca/index2.php?page=main2)) and to contract all and expand on each site works like magic.... although I can not open more then one at a time.... if I try to open a second one... it will close the last one opened... sorry if I'm hard to understand :D

anyway if you can help It would be more then appreciated!

and a little comment for the staff/owner of this web site.... GREAT JOB!!! :)


06-21-2007, 05:57 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

I assume you're using the new version (http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm) of the script. It supports whether the previous content should be contracted when the current one is clicked on. Just set the corresponding method to false to disable it:

joeexample.collapsePrevious(false) //Allow more than 1 content to be open simultanously