Big Sister Web Application Framework
Functions | Variables
SwafBrowser.js File Reference

Functions

function SwafBrowser ()
 Tries to determine the browser type.

Variables

var browser = new SwafBrowser()
 Browser object identifying the browser.

Function Documentation

function SwafBrowser ( )

Tries to determine the browser type.

Interested parties can use Browser() properties to handle browser specific features. However, it is not a good idea to make excessive use of this, it is better style to check for properties that might be browser dependent rather than rely on the browser type.

The browser identification string.

True if browser is Netscape style (Gecko)

True if browser is Internet Explorer

Get the raw agent identifier string

Variable Documentation

var browser = new SwafBrowser()

Browser object identifying the browser.

Referenced by clickMenu(), and fade_in().