Ajax Tabs Content Script
it supports practical features such as persistence of the active tab (ie: when page is reloaded), an "IFRAME" mode, a "slideshow" mode, ability to expand/contract arbitrary DIVs on the page at the same time, nested tabs, and much more. We got our inspiration for this script from Yahoo's homepage, which employs such a concept to show news in an organized fashion.
Here's a quick outline of the script features:
selected" get assigned when a tab is clicked on- either on the tab link itself (its "
a" element), or its parent instead (ie: "
li" element). This makes the script adaptable to both CSS Tabs that are styled at the "
A" level itself, or its parent container instead.
onajaxpageload" custom event handler (see documentation).
As you can see, this Ajax Tabs Content script was designed to be much more than look pretty, but usable.
Author: Dynamic Drive