Click to return to the DHTML, HTML     
ID Attribute | id Propert...     indeterminate Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

ime-mode Attribute | imeMode Property


Sets or retrieves the state of an Input Method Editor (IME).

Syntax

HTML{ ime-mode: sMode }
Scriptingobject.style.imeMode [ = sMode ]

Possible Values

sMode String that specifies one of the following values:
autoIME is not affected. This is the same as not specifying the ime-mode attribute.
activeAll characters are entered through the IME. Users can still deactivate the IME.
inactiveAll characters are entered without IME. Users can still activate the IME.
disabledIME is completely disabled. Users cannot activate the IME if the control has focus.

The property is read/write with a default value of auto; the proposed cascading style sheets (CSS) extension attribute is inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.

Remarks

An Input Method Editor (IME) allows users to enter and edit Chinese, Japanese, and Korean characters. The IME is an essential component for writing Chinese, Japanese, and Korean scripts. These writing systems have more characters than can be encoded for a regular keyboard. The IMEs for these languages use sequences of base characters that describe an individual character or group of characters to enter a larger set of characters. Base characters can be component letters from Hangul syllables, phonetic components for Japanese Kanji characters, or various combinations for Chinese characters.

To compose text with an IME, the user generally uses dictionary lookup and contextual analysis, especially in languages where homonyms are frequent, as in Japanese. A user typically starts by entering a few component characters, optionally selecting from various choices, and a confirmation command.

Input Method Editors have two principle states:

HTML authors can provide users with some control by specifying an IME mode for a specific text entry. For example, if Japanese users enter information in a registration form, they might be required to enter their names in Kanji and Roman characters. By default, the users would have to make sure that the IME is inactive when entering their names in the Latin alphabet. The user would activate the IME to enter Kanji letters, then deactivate the IME to complete the form in the Latin alphabet. By controlling the IME mode, the HTML author prevents the user from having to activate and deactivate the IME.

Example

This example uses the ime-mode attribute.

<INPUT TYPE = text STYLE = "ime-mode:active" >

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
INPUT_text, TEXTAREA


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.