YfcGetCurrentStyleSheet

Description

This JavaScript function retrieves name of the style sheet for the current window.

Syntax

yfcGetCurrentStyleSheet()

Input parameters

None.

Output parameters

currentStyleSheet - The name of the style sheet for the current window. The full name of the style sheet is returned, including the file extension (for example, sapphire.css).

Example

This example shows how to get the current style sheet of the window.

var currentStyleSheet = yfcGetCurrentStyleSheet();