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

Материал из Web эксперт
Перейти к: навигация, поиск

"ime-mode" Example

   <source lang="html4strict">
   

<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>


     </source>
   
  


"ime-mode" is applied to

   <source lang="html4strict">

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

     </source>
   
  


"ime-mode" Possible Values

   <source lang="html4strict">

Possible Values auto, active, inactive, disabled.


     </source>
   
  


"ime-mode" Syntax and Note

   <source lang="html4strict">

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"


     </source>