Code Index | File Index

Namespaces

Classes


Namespace CKEDITOR.env

Environment and browser information.
Defined in: core/env.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Environment and browser information.
Field Summary
Field Attributes Field Name and Description
<static>  
CKEDITOR.env.air
Indicates that CKEditor is running on Adobe AIR.
<static>  
CKEDITOR.env.gecko
Indicates that CKEditor is running on a Gecko based browser, like Firefox.
<static>  
CKEDITOR.env.ie
Indicates that CKEditor is running on Internet Explorer.
<static>  
CKEDITOR.env.isCompatible
Indicates that CKEditor is running on a compatible browser.
<static>  
CKEDITOR.env.mac
Indicates that CKEditor is running on Macintosh.
<static>  
CKEDITOR.env.opera
Indicates that CKEditor is running on Opera.
<static>  
CKEDITOR.env.webkit
Indicates that CKEditor is running on a WebKit based browser, like Safari.
Namespace Detail
CKEDITOR.env
Since: 3.0
Environment and browser information.
Field Detail
<static> {Boolean} CKEDITOR.env.air
Since: 3.0
Indicates that CKEditor is running on Adobe AIR.
if ( CKEDITOR.env.air )
    alert( "I'm on AIR!" );

<static> {Boolean} CKEDITOR.env.gecko
Since: 3.0
Indicates that CKEditor is running on a Gecko based browser, like Firefox.
if ( CKEDITOR.env.gecko )
    alert( "I'm riding a gecko!" );

<static> {Boolean} CKEDITOR.env.ie
Since: 3.0
Indicates that CKEditor is running on Internet Explorer.
if ( CKEDITOR.env.ie )
    alert( "I'm on IE!" );

<static> {Boolean} CKEDITOR.env.isCompatible
Since: 3.0
Indicates that CKEditor is running on a compatible browser.
if ( CKEDITOR.env.isCompatible )
    alert( "Your browser is pretty cool!" );

<static> {Boolean} CKEDITOR.env.mac
Since: 3.0
Indicates that CKEditor is running on Macintosh.
if ( CKEDITOR.env.mac )
    alert( "I love apples!" );

<static> {Boolean} CKEDITOR.env.opera
Since: 3.0
Indicates that CKEditor is running on Opera.
if ( CKEDITOR.env.opera )
    alert( "I'm on Opera!" );

<static> {Boolean} CKEDITOR.env.webkit
Since: 3.0
Indicates that CKEditor is running on a WebKit based browser, like Safari.
if ( CKEDITOR.env.webkit )
    alert( "I'm on WebKit!" );

Documentation generated by JsDoc Toolkit 2.0.1 on Wed Jul 02 2008 18:55:02 GMT+0200 (CEST)