Name

LzBrowser

Synopsis

JavaScript: LzBrowser
Type: Object
Access: public
Topic: Kernel.DHTML
Declared in: WEB-INF/lps/lfc/services/platform/dhtml/LzBrowser.js

Details

Static Properties (2)

defaultPortNums
static public var defaultPortNums = { ... };
postToLps
static public var postToLps = true;

Static Methods (18)

callJS()
static public function callJS(js : String);
Runs a Javascript method in the browser, returning the result
getBaseURL()
static private function getBaseURL(secure, port);
Returns the base URL the lzx was loaded from
getInitArg()
static public function getInitArg(name) : String;
This function returns the value of a key in the request string that requested the the lzx app. This can be used to communicate server to an lzx app without forcing the app to make a request
getLoadURL()
static public function getLoadURL();
Returns the URL from which the application was loaded.
getLoadURLAsLzURL()
static public function getLoadURLAsLzURL();
Returns the loadUrl as a new LzURL
getVersion()
static public function getVersion();
Returns version information about the browser
isAAActive()
static public function isAAActive();
Determines if the a screen reader is active and the Flash player is focused
loadJS()
static public function loadJS(js : String, target : String);
Runs Javascript in the browser using a javascript: url, optionally in a target
loadURL()
static public function loadURL(url : String, target : String, features);
Loads a URL in the browser, optionally in a target
setClipboard()
static public function setClipboard(str : String);
Sets the system clipboard to the specified string
showMenu()
static private function showMenu(truefalse : Boolean);
Turns the flash context menu on or off
supportsPost()
static private function supportsPost();
toAbsoluteURL()
static private function toAbsoluteURL(url : String, secure : Boolean);
Converts relative URLs to absolute by prepending the load URL
updateAccessibility()
static private function updateAccessibility();
Updates accessibility data
urlEscape()
static public function urlEscape(str);
Escape a string using URL encoding.
urlUnescape()
static public function urlUnescape(str);
Escape a string using URL encoding.
usePost()
static private function usePost();
xmlEscape()
static public function xmlEscape(str);
Escape special characters in message: & and <.

JavaScript Synopsis

public var LzBrowser = { ... };