PDA

View Full Version : [Request] Close one div when another one is open



CyBeRaY
10-01-2010, 10:21 AM
1) Script Title: Animated Collapsible DIV

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem: Can the great animated collapsible div script be edited in a way that when one div is opened the other one is closed and thus only one div is open? Any help is much appreciated.

jscheuer1
10-02-2010, 02:11 AM
Look on the demo page examples 4, 5, and 6 - all part of the 'pets' group. They behave that way. Follow the template for them, and you're in business. This group is also a part of the demo code you are instructed to creat by following Steps 1 and 2. So if you follow those steps, you will have a local example to work from.

CyBeRaY
10-02-2010, 09:14 AM
Look on the demo page examples 4, 5, and 6 - all part of the 'pets' group. They behave that way. Follow the template for them, and you're in business. This group is also a part of the demo code you are instructed to creat by following Steps 1 and 2. So if you follow those steps, you will have a local example to work from.

Thanks a lot, I've made it work. I should have been more careful :)