Class Index | File Index

Classes


Class BTM.UI.Tabs

Dynamic Tabbed UI
Defined in: ui.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BTM.UI.Tabs(element, options)
Method Summary
Method Attributes Method Name and Description
 
Event handler for when an AJAX Tab loads
 
hideTab(tab)
Hide the specified Tab
 
loadFromAJAX(tab, showAfterLoad)
Load the content for an AJAX Tab
 
showTab(tab)
Show the specified Tab
Event Summary
Event Attributes Event Name and Description
 
clicked(event, tab)
Event handler for when a Tab is clicked
Class Detail
BTM.UI.Tabs(element, options)
Parameters:
{HTMLElement|String} element
element ID or reference to element to build Dynamic Tabs from
{Object} options Optional
the options object
{Boolean} options.preloadAJAX Optional, Default: false
flag to pre-load AJAX tabs when the document loads
Method Detail
ajaxLoaded(tab)
Event handler for when an AJAX Tab loads
Parameters:
{HTMLElement|String|Number} tab
element ID, element reference or Tab Index

hideTab(tab)
Hide the specified Tab
Parameters:
{HTMLElement|String|Number} tab
element ID, element reference or Tab Index

loadFromAJAX(tab, showAfterLoad)
Load the content for an AJAX Tab
Parameters:
{HTMLElement|String|Number} tab
element ID, element reference or Tab Index
{Boolean} showAfterLoad
flag to specify whether the Tab should be shown when the AJAX content has loaded

showTab(tab)
Show the specified Tab
Parameters:
{HTMLElement|String|Number} tab
element ID, element reference or Tab Index
Event Detail
clicked(event, tab)
Event handler for when a Tab is clicked
Parameters:
{Event} event
the Event object that triggered this
{HTMLElement|String|Number} tab
element ID, element reference or Tab Index

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Feb 03 2009 04:12:53 GMT+1100 (EST)