This class is used for creating a tab panel of content where the tabs can be switched on the fly w/ JS, thereby eliminating a page turn to see the other tab's content.
Located in Program_Root/widgets/ActiveTab.inc (line 20)
Container | --BaseWidget | --ActiveTab
The hidden tab's background color
The active tab's background color
The default selected tab
Inherited from BaseWidget
BaseWidget::$title
BaseWidget::$width
Inherited from Container
Container::$_flags
This is the constructor for the ActiveTab object.
- the width table
- the height of the tab's contents
- the selected tab.
Add a tab
- the title of the tab
- the conetnts for the tab
- should this tab be the default selected tab?
- the width of the tab in pixels defaults to 60
This function MUST be called AFTER ALL content has been added, in order for the js to work properly
Thie method is used to change the hidden tab's
background color
Thie method is used to change the selected tab's
background color
Inherited From BaseWidget
BaseWidget::get_align()
BaseWidget::get_css()
BaseWidget::get_javascript()
BaseWidget::get_title()
BaseWidget::get_width()
BaseWidget::set_align()
BaseWidget::set_title()
BaseWidget::set_width()
Inherited From Container
Container::Container()
Container::add()
Container::add_reference()
Container::count_content()
Container::get_indent_flag()
Container::push()
Container::push_reference()
Container::render()
Container::reset_content()
Container::set_collapse()
Container::set_indent_flag()
Container::_set_flags()
Documention generated on Thu, 31 Jul 2003 18:31:29 -0700 by phpDocumentor 1.2.0