CAF Shared JavaScript

Class Element

Object
   |
   +--Element

class Element

Defined in prototype.js


Nested Class Summary
<static class> Element.Methods
<static class> Element.hiddenObstructors
<static class> Element.hiddenOverlappers
 
Field Summary
<static>  Object _extend
          Replace prototype.js's Element.extend() to re-extend elements after scriptaculous' effects.js is loaded.
<static>  Object _makePositioned
          Fix prototype.js's Element.makePositioned() to ignore table rows.
<static>  Object ClassNames
          
<static>  Object CSS_LENGTH
          
<static>  Object CSS_PROPERTIES
          
 
Constructor Summary
Element (tagName, attributes)
           
 
Method Summary
<static> void collectTextNodes(element)
          
<static> void collectTextNodesIgnoreClass(element, className)
          
<static> Object create(name, attributes, text, rawhtml)
           Creates a new element with the specified name and attributes.
<static> Object dislocate(element, to, form)
           Dislocates specified element.
<static> Object extend(element)
          
<static> Object findAncestor(element, index, tagName, className)
           Find nth ancestor (or self) of element with specified tagName regex or className regex.
<static> Object findChild(element, index, tagName, className)
           Find nth direct child of element with specified tagName regex or className regex.
<static> Object findChildren(element, only, recursive, tagName)
          
<static> Object findObstructingObjects(element)
           Returns list of elements on the page (such as applets, flash objects, selectboxes in ie6, etc) which obstruct html layered over those elements.
<static> Object findParent(element, name, attributes)
           Finds parent (or self) with specified tag name and/or attributes.
<static> void forceRerendering(element)
          
<static> Object getAttribute(element, qname, ns, localname)
           Gets the specified element attribute as a string value.
<static> void getInlineOpacity(element)
          
<static> Object getRole(element)
           Gets the WAI role for the specified element.
<static> Object getState(element, state)
           Gets the state value for the specified element and WAI state.
<static> Object getStyles(element)
          
<static> Object hideObstructingObjects(element)
           Hides obstructing elements.
<static> Object hideOverlappingObjects(element, rect)
           Hide overlapping embeds and selectboxes.
<static> Object isDescendantOrSelf(e0, e1)
           True if e1 is descendant of e0 or is e0.
<static> Object isParent(child, element)
          
<static> Object offsetSize(element, type)
          
<static> Object relocate(element)
           Relocates specified element back to original (prior to dislocation) position.
<static> void setAttribute(element, qname, value, ns, localname)
           Sets the specified element attribute as a string value.
<static> Object setContentZoom(element, percent)
          
<static> void setRole(element, role)
           Sets the WAI role for the specified element.
<static> void setState(element, state, value)
           Sets the state value for the specified element and WAI state.
<static> Object showObstructingObjects(element)
           Shows obstructing elements.
<static> Object showOverlappingObjects(element)
           Re-show overlapping embeds and selectboxes.
<static> void updateOuter(element, html)
           Replaces the specified element with the specified html representing the new "outerHTML" of the element.

Field Detail

_extend

<static> Object _extend

_makePositioned

<static> Object _makePositioned

ClassNames

<static> Object ClassNames

CSS_LENGTH

<static> Object CSS_LENGTH

CSS_PROPERTIES

<static> Object CSS_PROPERTIES

Constructor Detail

Element

Element(tagName, attributes)

Method Detail

collectTextNodes

<static> void collectTextNodes(element)

collectTextNodesIgnoreClass

<static> void collectTextNodesIgnoreClass(element, className)

create

<static> Object create(name, attributes, text, rawhtml)

dislocate

<static> Object dislocate(element, to, form)

extend

<static> Object extend(element)

findAncestor

<static> Object findAncestor(element, index, tagName, className)

findChild

<static> Object findChild(element, index, tagName, className)

findChildren

<static> Object findChildren(element, only, recursive, tagName)

findObstructingObjects

<static> Object findObstructingObjects(element)

findParent

<static> Object findParent(element, name, attributes)

forceRerendering

<static> void forceRerendering(element)

getAttribute

<static> Object getAttribute(element, qname, ns, localname)

getInlineOpacity

<static> void getInlineOpacity(element)

getRole

<static> Object getRole(element)

getState

<static> Object getState(element, state)

getStyles

<static> Object getStyles(element)

hideObstructingObjects

<static> Object hideObstructingObjects(element)

hideOverlappingObjects

<static> Object hideOverlappingObjects(element, rect)

isDescendantOrSelf

<static> Object isDescendantOrSelf(e0, e1)

isParent

<static> Object isParent(child, element)

offsetSize

<static> Object offsetSize(element, type)

relocate

<static> Object relocate(element)

setAttribute

<static> void setAttribute(element, qname, value, ns, localname)

setContentZoom

<static> Object setContentZoom(element, percent)

setRole

<static> void setRole(element, role)

setState

<static> void setState(element, state, value)

showObstructingObjects

<static> Object showObstructingObjects(element)

showOverlappingObjects

<static> Object showOverlappingObjects(element)

updateOuter

<static> void updateOuter(element, html)

CAF Shared JavaScript

Documentation generated by JSDoc on Sun Sep 15 20:21:18 2019