|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--GLOBALS
Method Summary | |
<static> function
|
clearCookie(key)
clears the specified cookie |
<static> function
|
css(id, css, value)
Sets the element's CSS attribute |
<static> function
|
elt(id)
Gets on object reference to an HTML element. |
<static> function
|
getCookie(key)
gets the cookie's value |
<static> function
|
hide(id)
Sets the element's CSS visibility to "hidden" |
<static> function
|
insert(id)
Sets the element's CSS display appropriately |
<static> function
|
isVisible(id)
Checks whether an element is visible on the screen. |
<static> function
|
remove(id)
Sets the element's CSS display to "none" |
<static> function
|
setCookie(key, value)
sets the cookie's value |
<static> function
|
show(id)
Sets the element's CSS visibility to "visible" |
Method Detail |
<static> function clearCookie(key)
key
is set to null, and set to expire in 1970.
<static> function css(id, css, value)
id
- element's id
css
- css attribute to set
value
- css value
<static> function elt(id)
id
- element's id
<static> function getCookie(key)
document.cookie
variable.
key
- name of cookie to retrieve
<static> function hide(id)
id
- element's id
<static> function insert(id)
list
is specified, the element's CSS display is set to each element in list until
the browser no longer throws an exception. If list is not specified, display attempts to use the
page.cpw CrossPlatformWrapper's tag array to determine the appropriate style based on the tag name. If
this does not work, it sets the style to inline.
id
- element's id
list
- optional list of values to try
<static> function isVisible(id)
id
- id of the element to check
<static> function remove(id)
id
- element's id
<static> function setCookie(key, value)
document.cookie
variable.
key
- name of the cookie to set
value
- value to set the cookie to
<static> function show(id)
id
- element's id
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |