1 out of 1 rated this helpful - Rate this topic

isPrefAlternate property

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is the preferred style sheet.

Internet Explorer 8

Syntax

JavaScript

p = object.isPrefAlternate

Property values

Type: Boolean

VARIANT_FALSE (false)

Object is not the preferred alternative style sheet.

VARIANT_TRUE (true)

Object is the preferred alternative style sheet.

Remarks

If more than one alternative style sheet exists, then this is the preferred one.

See also

styleSheet
isAlternate

 

 

Send comments about this topic to Microsoft

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Criteria for Preferred?

This property returns true if the styleSheet satisfies requirements for "preferred" but what exactly is that?

  • style's attributes contain rel = stylesheet
  • title is specified and not empty
  • attribute rel does not contain alternate