%StyleSheet meta-HTML element

Syntax

%StyleSheet(STYLE_SHEET_NAME)

Description

At runtime, %StyleSheet and the STYLE_SHEET_NAME parameter are replaced by the absolute URL suitable for referencing the .css file on the web server. In addition, the style sheet is loaded into the web server's cache directory.

Note:

This function is valid for use in auxiliary JavaScript files.

Parameters

Parameter Description

STYLE_SHEET_NAME

Specify the name of a style sheet definition stored in the database.

Example

The following example demonstrates a usage of %StyleSheet:

%StyleSheet(PSSTYLEDEF_FMODE)

The resulting absolute URL would be similar to the following:

http://myserver.example.com:8080/cs/QEDMO/cache/PSSTYLEDEF_FMODE_133.css