New component for Prado: Virtual Keyboard to protect against keyloggers.
Features:
- AutoIvoke="True" makes keyboard pop up automatically when page loads.
- Lightweight: 10 kb only. Doesn't require prado core js library.
- RelativeAlign="False" positions keyboard relatively to the whole page.
- Automatically pops up when ForControl gets focus.
- Automatically hides when ForControl loses focus.
- Supports inserts, backspaces and deletes at cursor position.
- May be invoked from script by using: "$F('my_text_box').keyboard.invoke();".
- Crossbrowser: IE, FF, MZ, OP, SM.
Test code:
<com:TTextBox ID="Input" TextMode="Password" />
<com:TKeyboard ForControl="Input" OffsetLeft="3px" OffsetTop="35px" />
P.S. See also pure CSS menu component.
Any comments and suggestions are welcome!