Class Index | File Index

Classes


Namespace glow.env


Defined in: core.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Information about the browser and characteristics
Field Summary
Field Attributes Field Name and Description
<static>  
glow.env.gecko
Gecko version number to one decimal place (eg 1.9) or NaN on non-gecko browsers.
<static>  
glow.env.ie
IE version number to one decimal place (eg 6.0) or NaN on non-IE browsers.
<static>  
glow.env.khtml
KHTML version number to one decimal place or NaN on non-KHTML browsers.
<static>  
glow.env.opera
Opera version number to one decimal place (eg 10.0) or NaN on non-Opera browsers.
<static>  
glow.env.standardsMode
True if the browser reports itself to be in 'standards mode' Otherwise, the browser is in 'quirks mode'
<static>  
glow.env.version
Version number of the browser in use as a string.
<static>  
glow.env.webkit
Webkit version number to one decimal place (eg 531.9) or NaN on non-Webkit browsers.
Namespace Detail
glow.env
Information about the browser and characteristics
Field Detail
<static> {number} glow.env.gecko
Gecko version number to one decimal place (eg 1.9) or NaN on non-gecko browsers. The most popular browser using the Gecko engine is Firefox.
			if (glow.env.gecko < 1.9) {
				// runs in Firefox 2 and other browsers that use Gecko earlier than 1.9
			}
See:
Versions of Gecko used by browsers

<static> {number} glow.env.ie
IE version number to one decimal place (eg 6.0) or NaN on non-IE browsers. This number will also be populated for browser based on IE's trident engine
			if (glow.env.ie < 9) {
				// runs in IE pre-9.0
				glow('#content').css('background', 'deadmoomin.png');
			}

<static> {number} glow.env.khtml
KHTML version number to one decimal place or NaN on non-KHTML browsers. Konqueror is the most popular browsers using KHTML.

<static> {number} glow.env.opera
Opera version number to one decimal place (eg 10.0) or NaN on non-Opera browsers.
			if (glow.env.opera < 10) {
				// runs in Opera pre-10.0
			}

<static> {boolean} glow.env.standardsMode
True if the browser reports itself to be in 'standards mode' Otherwise, the browser is in 'quirks mode'
See:
Quirks Mode vs Standards Mode

<static> {string} glow.env.version
Version number of the browser in use as a string. This caters for version numbers that aren't 'real' numbers, like "7b" or "1.9.1"

<static> {number} glow.env.webkit
Webkit version number to one decimal place (eg 531.9) or NaN on non-Webkit browsers. Safari and Google Chrome are the most popular browsers using Webkit.
			if (glow.env.webkit < 526) {
				// runs in Safari pre-4.0, and Chrome pre-1.0
			}
See:
Versions of Webkit used by Safari
Versions of Webkit used by Google Chrome

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Mar 03 2010 14:15:22 GMT-0000 (GMT)