HTML CSS Reference/CSS Attributes and Javascript Style Properties/ime mode

Материал из Web эксперт
Версия от 08:19, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"ime-mode" Example

    
<html>
<body>
<input id="myInput" 
       type="text" 
       size=60 
       value="This input control has ime-mode property set to "inactive"">
<button onclick="myInput.style.imeMode="active"">Set imeMode property to active</button>
<button onclick="myInput.style.imeMode="inactive"">Set imeMode property to inactive</button>
</body>
</html>



"ime-mode" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |currentStyle                    <input type="text">           |
|                |runtimeStyle                    style                         |
|                |<textarea>                                                    |
+----------------+--------------------------------------------------------------+



"ime-mode" Possible Values

Possible Values
auto,
active,
inactive,
disabled.



"ime-mode" Syntax and Note

Note:
the mode of an Input Method Editor (IME), 
IME is a special device for writing Chinese, Japanese, and Korean scripts.
Syntax:
    
element { ime-mode: value }
elementID.style.imeMode = "value"
document.all.elementID.style.imeMode = "value"