Program_Root/browser.php

Description
Classes
Class Description
BROWSER Identifies the browser for this session.
Constants
Browser_alpha_PNG = 2 (line 42)

Does the browser support PNG images with alpha-transparency?

Browser_alpha_PNG_through_behaviors = 10 (line 63)

Does the browser support alpha PNG using behaviors?.

This is a hideous hack for IE browsers to support alpha-PNG files using a DirectX api, but, sadly, only works if absolute dimensions are given with the image.

Browser_cookie = 5 (line 48)

Does the browser support setting/getting cookies?

Browser_CSS_1 = 3 (line 44)

Does the browser support CSS Level 1?

Browser_DHTML = 1 (line 40)

Does the browser support DHTML?

Browser_gecko = 'gecko' (line 69)

Browser uses the Gecko renderer.

Browser_ie = 'ie' (line 77)

Browser uses the Internet Explorer renderer.

Browser_JavaScript = 4 (line 46)

Does the browser support Javascript?

Browser_konqueror = 'konqueror' (line 71)

Browser uses the Konqueror/KHTML renderer.

Browser_netscape_4 = 'netscape_4' (line 66)

Browser uses the Netscape 4 renderer.

Browser_omniweb = 'omniweb' (line 80)

Browser uses the Omniweb renderer.

Mac OS X only.

Browser_opera = 'opera' (line 73)

Browser uses the Opera renderer.

Browser_os_linux = 'linux' (line 90)

Browser is running on Linux (some form).

Browser_os_mac = 'macos' (line 88)

Browser is running on MacOS (Classic or OS X).

Browser_os_windows = 'windows' (line 86)

Browser is running on Win32.

Browser_preserves_entities_in_textbox = 8 (line 55)

Are HTML entities translated in textarea tags?.

Some browsers translate HTML entities into their target characters before placing them in text-boxes. This is bad when you're editing content in which you've used entities directly. This property identifies those browsers, so the forms library can escape the entity characters to render properly.

  • see: FORM::html_at()
Browser_safari = 'safari' (line 83)

Browser uses the Safari renderer.

Derived from KHTML (Mac OS X only)

Browser_supports_document_clear = 9 (line 59)

Does the browser support the Javascript document.clear command?.

This allows a document to be cleared of text without closing the window.

  • see: JS_CONSOLE_LOGGER
Browser_webtv = 'webtv' (line 75)

Browser uses the WebTV renderer.

Documention generated on Sun, 23 Feb 2003 12:34:39 +0100 by phpDocumentor 1.2.0rc1