JavaScript VirtualKeyboard是 Javascript下 的虚拟键盘,不仅如此,它还 支持自建输入法,你所 看 到 的 所 有 内容 都是 由其内建输入法所输入,并且支持多 种语

Using of the code is quite simple:

  1. Add the following lines to the head:
    	<LINK title="virtualkeyboard" href="keyboard/keyboard.css" 
    	type="text/css" rel="stylesheet" />
    	<SCRIPT src="vk_loader.js" type="text/javascript"></SCRIPT>
    	
  2. And the following lines somewhere at the page with edit form:
    	VirtualKeyboard.isOpen() ? VirtualKeyboard.close():
    	VirtualKeyboard.show('target_input_field_id','keyboard_holder_id');
    	

    i.e. I use it in the event handler to open the keyboard on button click

  3. (optional) Note: only IE6/7 on the local PC currently supported.
    1. Run /setup/setup.html to generate desired layouts from the sources.
    2. Copy /setup/out/layouts.js to /layouts/layouts.js

Yes, that's all. No need to write any code, or whatever else. The solution is really solid.

Demo: http://debugger.ru/demo/projects/virtualkeyboard/demo_inline.html

Site: http://debugger.ru/projects/virtualkeyboard