Class Index | File Index

Classes


Namespace BTM.Browser

Functionality and Properties for identifying/targetting Browser features, functionality and quirks
Defined in: browser.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
BTM.Browser.engine
The Browser Engine
<static>  
BTM.Browser.engineVersion
The Browser Engine version
<static>  
BTM.Browser.engineVersionString
The Browser Engine version string
<static>  
BTM.Browser.mode
The Browser mode - 'quirks' or 'strict'
<static>  
BTM.Browser.name
The Browser name
<static>  
BTM.Browser.platform
The Browser Platform (OS)
<static>  
BTM.Browser.version
The Browser version
<static>  
BTM.Browser.versionString
The Browser version string
Method Summary
Method Attributes Method Name and Description
<static>  
BTM.Browser.is(name, version, mode)
Convenience function to check a Browsers name/engine/version information
Namespace Detail
BTM.Browser
Field Detail
<static> BTM.Browser.engine
The Browser Engine

<static> BTM.Browser.engineVersion
The Browser Engine version

<static> BTM.Browser.engineVersionString
The Browser Engine version string

<static> BTM.Browser.mode
The Browser mode - 'quirks' or 'strict'

<static> BTM.Browser.name
The Browser name

<static> BTM.Browser.platform
The Browser Platform (OS)

<static> BTM.Browser.version
The Browser version

<static> BTM.Browser.versionString
The Browser version string
Method Detail
<static> {Boolean} BTM.Browser.is(name, version, mode)
Convenience function to check a Browsers name/engine/version information
Parameters:
{String} name
the name of the Browser to check. Checks engine name first, then browser name
{Number|String} version Optional
the version to check for. Checks against browser/engine version depending on what the name parameter matches. Checks against the version/versionString depending if it's a Number or String, respectively.
{String} mode Optional, Default: 'eq'
the mode to check the version. Accepted values are 'eq', 'lt', 'lte', 'gt' and 'gte' which are tested with the operators ===, <, <=, > and >= respectively
Returns:
{Boolean} true or false, if supplied parameters match the current Browser environment

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