Publisher review:YUIDomCollapse allows you to turn any element into a show and hide trigger. YUIDomCollapse allows you to turn any element into a show and hide trigger. YUIDomCollapse is a script built upon the Yahoo User Interface library.
It does the following:
- It scans the document for elements with a CSS class name of trigger.
- If the element is not a link it will
- hide the next element in the document
- create a new link inside the current element and alternately show and hide the next element when you activate the element (either by clicking with a mouse, or hitting enter on the keyboard after tabbing to it).
- If the element is a link it will show and hide the element the link's href points to. If that element does not exist it will show and hide the next element in the node tree instead.
YUIDomCollapse is a JavaScript script for Forms and Controls scripts design by onlinetools.org.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris