'More Content' / DOM collapse scripts
- See also: Tree Menus
- See also: DHTML Menus
- dom toggle collapse
-
Onlinetools.org - DOM-collapse
Collapsible page elements with DOM - A tutorial on how to create an 'expand / collapse' elements in your page. This tutorial to accompany the Onelinetools.org script: Evolt.org - Collapsible elements.
-
Onlinetools.org - JavaScript fallback
A tutorial on how to ensure a fallback option when using an 'expand / collapse' element.
-
Dustindiaz.com - Seven togglers
Seven ways to toggle an element’s display with JavaScript. One example with a single DIV and another example with multiple DIVs. DustinDaz also gives us: collapsable effects with scriptaculous.
-
Tjkdesign.com - Toggle elements
Using a Definition List and the DOM to create a nice FAQ page where clicking on the DTs (the questions) "toggles" the associated DDs (the answers).
-
Learningjquery.com - More showing more hiding
A tutorial exploring a couple ways to show and hide details by clicking on headings.
- Icant.co.uk - more content links
- Interglacial.com - show hide
-
Weberdev.com - Unobtrusive expand/shrink
Unobtrusive javascript for applying expand/shrink behaviour. Script generates buttons and apply behaviour on them for divs which have a class name 'collapsable'.
-
Learningjquery.com - show and hide
Using jQuery for showing or hiding something, or a group of things. There's also: slicker show and hide with pretty effects.
-
Cross-browser.com - Three column collapse
Using a three-column CSS layout and adding javascript to enable collapsible left and right columns.
-
Jek2k.com - Drop down with Javascript
Creating a drop down panel page section. Web standards compliant - Xhtml and uses Prototype & Script.aculo.us.
-
24ways.org - JavaScript display hide
Designing tree menus with separation of content, presentation and behaviour. Uses JavaScript (jquery) to both show and hide nested DIVs rather than using CSS to hide the nested DIVs so it still works with JavaScript turned off and without CSS working. This means no JavaScript and CSS dependency.
- dom show/hide absolute layers
-
Dyn-web.com - show hide layers
Tutorial and code for swapping the visibility of layer content. Includes link style change functionality. Layers can be positioned absolute, inline or table cells. Internet Explorer 4+, Netscape 4, Netscape 6+/Mozilla and Opera.
-
CSSPlay.co.uk - more content divs
An almost pure CSS method to have page columns where you can 'click to see more' information.


