Scripting

Default Order of Precedence:
runJSOnceBefore > runOnceBefore > runJSBefore > runBefore > Mode Handler > runDuring > runJSOnceAfter > runOnceAfter > runJSAfter > runAfter
runJSOnceBefore[]

The "runJSOnceBefore" array is used to execute one or more external JavaScript files once before an AccDC Object opens.

.runOnceBefore()

The "runOnceBefore()" script is executed once before an AccDC Object opens.

.runJSBefore[]

The "runJSBefore" array is used to execute one or more external JavaScript files before an AccDC Object opens. (Every time)

.runBefore()

The "runBefore()" script is executed before an AccDC Object opens. (Every time)

.runDuring()

The "runDuring()" script is executed while an AccDC Object is opening.

.runJSOnceAfter

The "runJSOnceAfter" array is used to execute one or more external JavaScript files once after an AccDC Object opens.

.runOnceAfter()

The "runOnceAfter()" script is executed once after an AccDC Object opens.

.runJSAfter

The "runJSAfter" array is used to execute one or more external JavaScript files after an AccDC Object opens. (Every time)

.runAfter()

The "runAfter()" script is executed after an AccDC Object opens. (Every time)

.reverseJSOrder

The "reverseJSOrder" property changes the order of precedence for script execution.

.runBeforeClose()

The "runBeforeClose()" script is executed before an AccDC Object closes. (Every time)

.runAfterClose()

The "runAfterClose()" script is executed after an AccDC Object closes. (Every time)

.allowCascade

The "allowCascade" property determines whether stacked script methods will be executed in succession.

CSS

.className

The "className" property assigns one or more class names to an AccDC Object.

.closeClassName

The "closeClassName" property binds an AccDC Object's close event handlers with all matching elements in the object.

.cssObj

The "cssObj" property assigns inline styles to an AccDC Object.

.css()

The ".css()" method adds/changes/removes/fetches styling properties from an AccDC Object.

$A.css()

The "$A.css()" method gets or sets CSS properties on one or more DOM nodes.

.autoPosition

The "autoPosition" property automatically positions an AccDC Object relative to its triggering element or a target object via "posAnchor".

.posAnchor

The "posAnchor" property assigns an anchor object to be used with the "autoPosition" calculation, which overrides the automatic use of the triggering element for this purpose.

.setPosition()

The ".setPosition()" method manually sets the rendered position of an AccDC Object relative to the location of a specific DOM node.

.autoFix

The "autoFix" property sets the rendered position of an AccDC Object to a fixed location in the viewport.

.applyFix()

The ".applyFix()" method manually calculates a new fixed position using the current "autoFix" property value, or applies a new "autoFix" value.

.offsetTop / .offsetLeft

The "offsetTop" and "offsetLeft" properties apply a positive or negative offset when "autoPosition" or "autoFix" is calculated.

.importCSS

The "importCSS" property dynamically adds an external CSS file to the AccDC Object.

.shadow

The "shadow" property applies a drop-shadow affect on an AccDC Object.

.setShadow()

The ".setShadow()" method manually applies "shadow" to an AccDC Object.

$A.hasClass()

The "$A.hasClass()" method returns True if one, or the total of a series of class names are contained within a DOM node.

$A.remClass()

The "$A.remClass()" method removes one or more class names from a DOM node, or an array of DOM nodes.

$A.addClass()

The "$A.addClass()" method adds one or more class names to a DOM node, or an array of DOM nodes.

.displayInline

The ".displayInline" property specifies that an AccDC Object will have it's surrounding Div tags rendered as inline elements in order to suppress block formatting.