Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

addImport Method


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

Syntax

iIndexActual = styleSheet.addImport(sURL [, iIndexRequest])

Parameters

sURL Required. String that specifies the location of the source file for the style sheet.
iIndexRequest Optional. 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 a zero-based index value indicating the position of the imported style sheet in the imports collection.

Standards Information

There is no public standard that applies to this method.

Applies To

styleSheet

     Advertising | Free Advertising | Internet Advertising | Internet Advertising | Advertising
Home    Link To Us    Ad With Us    Contact Us    Tell A Friend    Affiliates    Blog    Stock Photos