Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

AddImport() Syntax, Parameters and Note

Note: Adds a style sheet to the imported styleSheets Returns the index of the style sheet.      Syntax:      document.styleSheets[index].addImport(param1, param2) Parameters:     param1   Required; the location of the style sheet file.     param2   Optional; the index of the style sheet.               If an index is not specified, the style sheet is added to the end.