? .DS_Store ? content-type-js-302054-22.patch ? content-type-js-302054-24.patch ? node-content_type_overview-302120-16.patch ? node-content_type_overview-302120-19.patch ? vertical-tabs-323112-10.patch ? vertical-tabs-323112-8.patch ? vertical-tabs.patch ? modules/book/book.js ? sites/default/files ? sites/default/settings.php Index: misc/vertical-tabs.css =================================================================== RCS file: misc/vertical-tabs.css diff -N misc/vertical-tabs.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ misc/vertical-tabs.css 1 Nov 2008 02:46:13 -0000 @@ -0,0 +1,97 @@ +/* $Id */ + +.vertical-tabs-list .description { + display: block; +} + +/* Border style of tabs and content */ +div.vertical-tabs-div, +ul.vertical-tabs-list { + border: 1px solid #ccc; +} + +/* Make space for the tabs on the side */ +.vertical-tabs { + margin-left: 180px; +} + +/* Set the background image on the tabs and content */ +.vertical-tabs, +.vertical-tabs ul.vertical-tabs-list { + background: #fff; +} + +/* Position and layout of tabs container */ +.vertical-tabs ul.vertical-tabs-list { + width: 179px; + float: left; + margin: 0 0 0 -180px; + border-right: 0px; + z-index: 1; + border-bottom: 0; +} + + +/* Reset LIs which probably have awkward layout inherited from tabs */ +.vertical-tabs ul.vertical-tabs-list li { + float: none; + margin: 0; + padding: 0; + background-image: none; +} + +/* Layout of each tab */ +.vertical-tabs ul.vertical-tabs-list a { + display: block; + margin: 0; + padding: .4em .3em .1em .6em; + background: #fafafa; + text-align: left; + font-weight: normal; + border-bottom: 1px solid #ccc; +} + +.vertical-tabs ul.vertical-tabs-list a.vertical-tabs-nodescription { + padding-bottom: .4em; +} + +.vertical-tabs ul.vertical-tabs-list .description { + padding: 0; + line-height: normal; + min-height: 0; + white-space: normal; +} + +.vertical-tabs ul.vertical-tabs-list a { + border-right: 1px solid #ccc; +} + +/* Hover state of tabs */ +.vertical-tabs ul.vertical-tabs-list a:hover { + text-decoration: none; + cursor: pointer; +} + +.vertical-tabs ul.vertical-tabs-list a:focus { + outline: none; +} + +/* Selected tab */ +.vertical-tabs ul.vertical-tabs-list li.selected a { + background: transparent none; + color: black; + border-right: 0; +} + +/* Reset some important elements of each panel */ +.vertical-tabs .vertical-tabs-div { + margin: 0; + padding: .5em; + margin-top: -1px; + margin-left: -1px; + background: transparent none; +} + +.buttons { + clear: both; +} Index: misc/vertical-tabs.js =================================================================== RCS file: misc/vertical-tabs.js diff -N misc/vertical-tabs.js --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ misc/vertical-tabs.js 1 Nov 2008 02:46:13 -0000 @@ -0,0 +1,73 @@ +// $Id$ + +/** + * Main vertical tabs behavior - create the vertical tabs. + */ +Drupal.behaviors.verticalTabs = function() { + // Make sure that the vertical tabs list hasn't already been constructed. + if (!$('.vertical-tabs-list').size()) { + // Create the first
and the