appendStyleReference

This function appends a style sheet reference to the bottom of the head. If the exact reference exists, the function will not add a new reference.

The script reference is in the following form:

<link href="filename.css" rel="stylesheet" type="text/css" />

Syntax

function xweb.document.appendStyleReference(
reference : String
) : boolean

Parameters

reference   A string that contains the path and file name of the style sheet file.

Returns

true    The style sheet reference was successfully added.

false    The style sheet reference was not added.

See Also

Concepts

document
document Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.