Click to return to the DHTML, HTML     
AddFavorite Method     addReadRequest Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

addImport Method


Adds a style sheet to the imports collection for the given style sheet.

Syntax

iIndex = stylesheet.addImport(sURL [, iIndex])

Parameters

sURLRequired. String that specifies the location of the source file for the style sheet.
iIndexOptional. Integer that specifies the requested position for the style sheet in the collection. If this value is not given, the style sheet is added to the end of the collection.

Return Value

Integer. Returns a zero-based index value that specifies the position of the imported style sheet in the imports collection.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

styleSheet



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.