View Full Version : DHTML Expandable and Collapsible Shelf

08-09-2006, 04:09 AM
1) CODE TITLE: The Shelf v1.1

2) AUTHOR NAME: Digital Pen

3) DESCRIPTION: A DHTML (JavaScript + CSS) expandable and collapsible shelf.

4) CODE: Attached below.

5) DEMO: Default version demo (http://dp.phpnet.us/sandbox/shelf/default/), Single control version demo (http://dp.phpnet.us/sandbox/shelf/single-control/), Mouseover version demo (http://dp.phpnet.us/sandbox/shelf/mouse-over/).

08-20-2006, 10:20 PM
Great, I like that!
I've two questions...

1/ Is it possible to add multiple "Self" contents in the same page via this script?

2/ Could you include an saving state function: like the "Enable saving state of content structure using session cookies? (on/off)" inside "Switch Content Script" (http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm) and "Switch Content Script II" (http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm)?

and another ;)

3/ Could you add an "Contract All" and "Expand All" function?

Thanks a lot,

08-20-2006, 10:36 PM