shopsteward
04-27-2007, 07:43 PM
1) Script Title: Switch Content Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem: I would like to set this up so that there is always at least one div expanded and only one div expanded. That is to say I would like to have my default div expand if someone closes the only open Div. Alternately I would like to disable the ability of a user to close the currently open div. it would close if someone opened another div, but there should always be one and only one Div open.
how can I alter the script to make this happen?
thanks!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem: I would like to set this up so that there is always at least one div expanded and only one div expanded. That is to say I would like to have my default div expand if someone closes the only open Div. Alternately I would like to disable the ability of a user to close the currently open div. it would close if someone opened another div, but there should always be one and only one Div open.
how can I alter the script to make this happen?
thanks!