N2CMS

Classes | Enumerations

Package N2.Resources

Classes

class  Register
 Methods to register styles and javascripts.

Enumerations

enum  Media {
  Screen, TTY, TV, Projection,
  Handheld, Print, Braille, Aural,
  All
}
 

An enum of recognized media descriptors.

More...
enum  ScriptOptions {
  None = 1, ScriptTags = 2, DocumentReady = 4, Include = 8,
  Prioritize = 18
}
enum  ScriptPosition { Header, Bottom }

Enumeration Type Documentation

An enum of recognized media descriptors.

Enumerator:
Screen 

Intended for non-paged computer screens.

TTY 

Intended for media using a fixed-pitch character grid, such as teletypes, terminals, or portable devices with limited display capabilities.

TV 

Intended for television-type devices (low resolution, color, limited scrollability).

Projection 

Intended for projectors.

Handheld 

Intended for handheld devices (small screen, monochrome, bitmapped graphics, limited bandwidth).

Print 

Intended for paged, opaque material and for documents viewed on screen in print preview mode.

Braille 

Intended for braille tactile feedback devices.

Aural 

Intended for speech synthesizers.

All 

Suitable for all devices.

Definition at line 10 of file Media.cs.

Enumerator:
None 

Add the script exactly as given.

ScriptTags 

Embed the script in script tags.

DocumentReady 

Embed the script in script tags and use jQuery to await document loaded event.

Include 

The script is located at the supplied url.

Prioritize 

Try to register this before any other scripts.

Definition at line 6 of file ScriptOptions.cs.

Enumerator:
Header 

In the head html section.

Bottom 

At the bottom of the page (startup script).

Definition at line 7 of file ScriptPosition.cs.