JavaScript

{dialog.object}loadCSSFile Method

Syntax

{dialog.Object}.loadCSSFile(CSSFilename [,flagForceLoad])

Arguments

CSSFilenamestring

The source file that contains the CSS.

flagForceLoadboolean

Default = false. A true/false value. If true, the file is loaded even if the file is has been previously loaded.

Description

Loads CSS from a file.

Discussion

The method loads CSS from a file.

Example 

mycss.css is loaded from the same folder in the webroot as the current component

{dialog.object}.loadCSSFile("mycss.css");

See Also