Virtual Keyboard Interface

By GreyWyvern Last update Dec 31, 2009 — Installed 20,611 times. Daily Installs: 23, 35, 36, 22, 18, 36, 17, 26, 23, 26, 26, 45, 21, 17, 25, 23, 23, 18, 24, 13, 45, 13, 29, 40, 44, 28, 33, 28, 32, 35, 19

open keyboard when feild selected.

Subscribe to open keyboard when feild selected. 5 posts, 3 voices

FESTER2001 User
FirefoxWindows

Does anyone know how i could modify this script so that as soon as soon as you click a field in a form it opens up the keyboard (without double clicking)?

Thanks.

 
GreyWyvern Script's Author
OperaWindows

If you mean the userScript version, just change the "dblclick" event handler to "focus" or "click".

elem.addEventListener('dblclick', function() { self.VKI_show(this); }, false);

to this:

elem.addEventListener('focus', function() { self.VKI_show(this); }, false);

Or use "click" instead of focus if you want it to appear for mouse click focus only.

 
FESTER2001 User
FirefoxWindows

That's exactly what i wanted, thanks Heaps!!!

 
Salman Khimani User
FirefoxWindows

When i use static version, it works fine with clicking on keyboard icon to show up keyboard. In IE, FF and CHROME.

But when i use user version if found following problems with following changes:

Without editing js:
Works in FF and Chrome but doesn't show keyboard on double click in IE.

When Edited to show on 'focus'(as mentioned above):
Shows keyboard both in FF and Chrome but when i press any key on that, it disappears without writing any key in input field.
in IE, doesn't show keyboard.
m using IE 8.

 
GreyWyvern Script's Author
OperaWindows

The userscript version is not designed to work in IE. Only the static version is IE-compatible.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel