majocmatt
03-19-2007, 11:50 PM
1) Script Title:
Switch Content Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem:
When you create a new switchcontent object, you have to put the instance number(s) in the defaultExpanded method. I was wondering if anyone has successfully modified this for database driven dynamic content.
For instance, I would like those numbers to instead be unique ID's instead of array instances. Is this easily adaptable? I don't know JS
Switch Content Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem:
When you create a new switchcontent object, you have to put the instance number(s) in the defaultExpanded method. I was wondering if anyone has successfully modified this for database driven dynamic content.
For instance, I would like those numbers to instead be unique ID's instead of array instances. Is this easily adaptable? I don't know JS