media property

Sets or retrieves a list of media types for this rule.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2

Syntax

JavaScript

p = object.media

Property values

Type: Variant

a list of any of the following media types.

all

Applies to all devices.

print

Output is intended for printed material and for on-screen documents viewed in Print Preview mode.

screen

Output is intended for computer screens.

tv

Output is intended for television screens.

unknown

Intended output is unknown.

aural

Output is intended for speech synthesizers.

braille

Output is intended for braille tactile feedback devices.

embossed

Intended output is embossed.

handheld

Output is intended for handheld devices.

projection

Output is intended for projection devices.

tty

Output is intended for TTY devices.

Standards information

See also

CSSMediaRule
Reference
cssRules
deleteRule
insertRule

 

 

Show:
© 2014 Microsoft