Abstract Class JHtmlBootstrap

Description

Utility class for Bootstrap elements.

  • abstract:
  • since: 3.0

Located in /libraries/cms/html/bootstrap.php (line 19)


	
			
Variable Summary
 static array $loaded
Method Summary
 static void affix ([string $selector = 'affix'], [array $params = array()])
Variables
static array $loaded = array() (line 25)
  • var: Array containing information for loaded files
  • since: 3.0
  • access: protected
Methods
static affix (line 44)

Add javascript support for the Bootstrap affix plugin

  • since: 3.1
  • access: public
static void affix ([string $selector = 'affix'], [array $params = array()])
  • string $selector: Unique selector for the element to be affixed.
  • array $params: An array of options. Options for the affix plugin can be:
    • offset number|function|object Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs).

Documentation generated on Tue, 19 Nov 2013 14:54:44 +0100 by phpDocumentor 1.4.3