2.5.1.1 isAlternate

isAlternateof type Boolean, read-only

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is an alternative style sheet. If true, the style sheet is an alternate style sheet.

A style sheet is alternate if one or both of the following is true:

  • link element's rel attribute contains both "alternate" and "stylesheet"

  • link element's rel attribute contains "stylesheet" and title is specified and not empty

Windows Internet Explorer 8 allows users to select alternate style sheets, or disable styles entirely. (Use the View menu and point to Style submenu.) However, to appear as a named selection, an alternate style sheet must declare a title attribute.

This attribute is not available in Windows Internet Explorer 7.