JHtmlBootstrap
class JHtmlBootstrap
Utility class for Bootstrap elements.
Methods
Add javascript support for the Bootstrap affix plugin
Add javascript support for Bootstrap alerts
Add javascript support for Bootstrap buttons
Add javascript support for Bootstrap carousels
Add javascript support for Bootstrap dropdowns
Method to load the Bootstrap JavaScript framework into the document head
Add javascript support for Bootstrap modals
Method to render a Bootstrap modal
Add javascript support for Bootstrap popovers
Add javascript support for Bootstrap ScrollSpy
Add javascript support for Bootstrap tooltips
Loads js and css files needed by Bootstrap Tooltip Extended plugin
Add javascript support for Bootstrap typeahead
Add javascript support for Bootstrap accordians and insert the accordian
Close the current accordion
Begins the display of a new accordion slide.
Close the current slide
Creates a tab pane
Close the current tab pane
Begins the display of a new tab content panel.
Close the current tab content panel
Creates a tab pane
Close the current tab pane
Begins the display of a new tab content panel.
Close the current tab content panel
Loads CSS files needed by Bootstrap
Details
static
void
affix(
string $selector = 'affix',
array $params = array())
Add javascript support for the Bootstrap affix plugin
static
void
carousel(
string $selector = 'carousel',
array $params = array())
Add javascript support for Bootstrap carousels
static
void
dropdown(
string $selector = 'dropdown-toggle')
Add javascript support for Bootstrap dropdowns
static
void
framework(
mixed $debug = null)
Method to load the Bootstrap JavaScript framework into the document head
If debugging mode is on an uncompressed version of Bootstrap is included for easier debugging.
static
void
modal(
string $selector = 'modal',
array $params = array())
Add javascript support for Bootstrap modals
static
string
renderModal(
string $selector = 'modal',
array $params = array(),
string $body = '')
Method to render a Bootstrap modal
static
void
popover(
string $selector = '.hasPopover',
array $params = array())
Add javascript support for Bootstrap popovers
Use element's Title as popover content
static
void
scrollspy(
string $selector = 'navbar',
array $params = array())
Add javascript support for Bootstrap ScrollSpy
static
void
tooltip(
string $selector = '.hasTooltip',
array $params = array())
Add javascript support for Bootstrap tooltips
Add a title attribute to any element in the form title="title::text"
static
void
tooltipExtended(
boolean $extended = true)
Loads js and css files needed by Bootstrap Tooltip Extended plugin
static
void
typeahead(
string $selector = '.typeahead',
array $params = array())
Add javascript support for Bootstrap typeahead
static
string
startAccordion(
string $selector = 'myAccordian',
array $params = array())
Add javascript support for Bootstrap accordians and insert the accordian
static
string
addSlide(
string $selector,
string $text,
string $id,
string $class = '')
Begins the display of a new accordion slide.
static
string
addTab(
string $selector,
string $id,
string $title)
Begins the display of a new tab content panel.