|
And your e-mail is... ?
Send me an e-mail to kh_dmitry2001@mail.ru - I'll send you the file.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
Dmitry, thank you for your great work.
I wonder, to bypass clever keyloggers is it posssible to;
1. shuffling keys on popup, so they will placed randomly
2. pressing keys without mouse click, let's say by hovering a second
Thanks in advance
Aziz
|
|
|
|
|
Hi Aziz,
both methods are possible (1st is hard (you'll need to change the "_refresh_layout" method), 2nd is even harder). Unfortunatelly, I don't have much time these days.
Regards,
Dmitry.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
Thank you for your quick answer. If you have a to do list for VK, I appreciate if you please add them.
Best regards,
Aziz
|
|
|
|
|
Help me ! virtual keyboard popup onclick, and it can drag
thanks for your suggesstion!
|
|
|
|
|
Hi I want to get keyboard event on ifame ,
can you pls give me proper explantion about keyboard control on iframe?
Thanks in advance.
dabara
|
|
|
|
|
Keep the last focused textbox in global variable (eg. iframe_onclick->event->target), in keyb_callback function change a content of saved textbox reference. Mind the cross domain security issue (you can't simply access/change iframe elements that are on another domains).
|
|
|
|
|
I want use this to input Chinese charactor ,so I must change the input method first,how to get that?
|
|
|
|
|
Hi
Is there a method of adding a class specified in a css file to the buttons on the keyboard.
Thanks in advance
Rich
|
|
|
|
|
Can you show us your website where you put the keyboard so we can look at it?
Thanks.
|
|
|
|
|
Hi
The website is www.keyfleet.co.za/station
Thanks
|
|
|
|
|
How about excluding the cntr+c cntr+v keys so it will be possible to use it even if the virtual keyboard is used as a language proxy for a real keyboard? Or am I missing something?
|
|
|
|
|
I don't quite get your message. Do you want Ctrl to work like a dead key, so we can use Ctrl-C and Ctrl-V a-like real keybord?
Best regards,
- Dmitry.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
Yes. I understand I can do it when the keyboard is hidden, but it is not possible to use when the keyboard is shown.
|
|
|
|
|
So is it possible? (To be able to use CTRL+C to copy text?)
|
|
|
|
|
Hi,
I really enjoyed how easy your keyboard was to setup and integrate in our website. We would like to have the language selector bar to open when the keyboard loads in the page. Is there any way to do this?
Thank you in advance for your assistance.
Carl
|
|
|
|
|
I've answered this in private, but I think it is worth posting the solution here. In the definition of the VKeyboard object ("vkeyboard.js"), define the following method:
_force_lang_menu: function()
{
var vkb = this;
var ct = vkb.Cntr, menu = vkb.menu;
if(menu)
{ ct.removeChild(menu); vkb.menu = null; }
else
{
var fs = vkb.fontsize, kc = vkb.keycolor, bc = "1px solid " + vkb.bordercolor;
var mag = parseFloat(fs) / 14.0, cell = Math.floor(25.0 * mag), cp = cell + "px", lh = (cell - 2) + "px", w = String(102 * mag) + "px";
var h1 = Math.floor(cell + mag), h2 = String(100 * mag) + "px", pad = String(4 * mag) + "px";
var langs = vkb.avail_langs.length;
menu = document.createElement("DIV"); var ms = menu.style;
ms.display = "block";
ms.position = "relative";
ms.top = "1px", ms.left = "0px";
ms.width = w;
ms.border = bc;
ms.backgroundColor = vkb.bgcolor;
vkb.menu = ct.appendChild(menu);
var menu_main = document.createElement("DIV"); ms = menu_main.style;
ms.fontFamily = vkb.fontname;
ms.position = "relative";
ms.color = vkb.fontcolor;
ms.width = w;
ms.height = String(langs * h1 + 1) + "px";
ms.cursor = "default";
menu.appendChild(menu_main);
function setcolor(obj, c) { return function() { obj.style.backgroundColor = c; } };
for(var j = 0; j < langs; j++)
{
var item = vkb._setup_key(menu_main, "___lang_" + String(j), String(h1 * j + 1) + "px", "1px", h2, cp, "left", lh, fs, "normal", pad);
item.style.backgroundColor = kc;
item.style.border = bc;
item.innerHTML = vkb.avail_langs[j][1];
vkb._setup_event(item, 'mousedown', vkb._handle_lang_item);
vkb._setup_event(item, 'mouseover', setcolor(item, vkb.lic));
vkb._setup_event(item, 'mouseout', setcolor(item, kc));
}
}
},
By calling this method you can force the language selector menu open.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
It's an excellent project. Congrats.
Is there a way you could modify so that the 3-numpad-full can be used for adding or subtracting...
Thank you.
|
|
|
|
|
how to notify which key was actually pressed by the user?
like some depress image or colour effects to that particular button identifying key press.
thanx
|
|
|
|
|
There is a parameter in the VKeyboard constructor (18th in from the start) that toggles the on-press key flash animation; it is set to false by default. Search the article for:
true,
Hope it helps & best regards,
- Dmitry.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
I am using 3-edit-translator.html in which the parameter for the constructor is set to "true" as mentioned by you.
What i want is; if the user is using the keyboard (physical h/w) to keying the data i want the virtual keyboard to highlight (flash) the keys pressed on the h/w?
thanks.
|
|
|
|
|
I'll try to create such a script in a next few days.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|
Dvorak (UsD) and colemak (UsC) keyboard layouts
www.dvorak-keyboards.com
www.colemak.com
(i had problem with posting the code with '&#x' hence please replace $$ with the '&#x'
<pre>
<code>
UsD_normal: [ ["$$60;", "Grave"], "$$31;", "$$32;", "$$33;", "$$34;", "$$35;", "$$36;", "$$37;", "$$38;", "$$39;", "$$30;", "$$2D;", "$$3D;",
"$$2F;", "$$2C;", "$$2E;", "$$70;", "$$79;", "$$66;", "$$67;", "$$63;", "$$72;", "$$6C;", "$$5B;", "$$5D;", "$$5C;",
"$$61;", "$$6F;", "$$65;", "$$75;", "$$69;", "$$64;", "$$68;", "$$74;", "$$6E;", "$$73;", "$$27;", ,
"$$3B;", "$$71;", "$$6A;", "$$6B;", "$$78;", "$$62;", "$$6D;", "$$77;", "$$76;", "$$7A;",
],
UsD_caps: [ ["$$60;", "Grave"], "$$31;", "$$32;", "$$33;", "$$34;", "$$35;", "$$36;", "$$37;", "$$38;", "$$39;", "$$30;", "$$2D;", "$$3D;",
"$$2F;", "$$2C;", "$$2E;", "$$50;", "$$59;", "$$46;", "$$47;" "$$43;", "$$52;" "$$4C;", "$$5B;", "$$5D;", "$$5C;",
"$$41;", "$$4F;", "$$45;", "$$55;", "$$49;", "$$44;", "$$48;", "$$54;", "$$4E;", "$$53;", "$$27;", ,
"$$3B;", "$$51;", "$$4A;", "$$4B;", "$$58;", "$$42;", "$$4D;", "$$57;", "$$56;", "$$5A;",
],
UsD_shift: [ ["$$7E;", "Tilde"], "$$21;", "$$40;", "$$23;", "$$24;", "$$25;",
["$$5E;", "Circumflex"], "$$26;", "$$2A;", "$$28;", "$$29;", "$$5F;", "$$2B;",
"$$3F;", "$$3C;", "$$3E;", "$$50;", "$$59;", "$$46;", "$$47;", "$$43;", "$$52;", "$$4C;", "$$7B;", "$$7D;", "$$7C;",
"$$41;", "$$4F;", "$$45;", "$$55;", "$$49;", "$$44;", "$$48;", "$$54;", "$$4E;", "$$53;", "$$22;", ,
"$$3A;", "$$51;", "$$4A;", "$$4B;", "$$58;", "$$42;", "$$4D;", "$$57;", "$$56;", "$$5A;",
],
// colemak keyboard
UsC_normal: [ ["$$60;", "Grave"], "$$31;", "$$32;", "$$33;", "$$34;", "$$35;", "$$36;", "$$37;", "$$38;", "$$39;", "$$30;", "$$2D;", "$$3D;",
"$$71;", "$$77;", "$$66;", "$$70;", "$$67;", "$$6A;", "$$6C;", "$$75;", "$$79;", "$$3A;", "$$5B;", "$$5D;", "$$5C;",
"$$61;", "$$72;", "$$73;", "$$74;", "$$64;", "$$68;", "$$6E;", "$$65;", "$$69;", "$$6F;", "$$22;", ,
"$$7A;", "$$78;", "$$63;", "$$76;", "$$62;", "$$6B;", "$$6D;", "$$2C;", "$$2E;", "$$2F;"
],
UsC_caps: [ ["$$60;", "Grave"], "$$31;", "$$32;", "$$33;", "$$34;", "$$35;", "$$36;", "$$37;", "$$38;", "$$39;", "$$30;", "$$2D;", "$$3D;",
"$$51;", "$$57;", "$$46;", "$$50;", "$$47;", "$$4A;", "$$4C;", "$$55;", "$$59;", "$$3B;", "$$5B;", "$$5D;", "$$5C;",
"$$41;", "$$52;", "$$53;", "$$54;", "$$44;", "$$48;", "$$4E;", "$$45;", "$$49;", "$$4F;", "$$27;", ,
"$$5A;", "$$58;", "$$43;", "$$56;", "$$42;", "$$4B;", "$$4D;", "$$2C;", "$$2E;", "$$2F;"
],
UsC_shift: [ ["$$7E;", "Tilde"], "$$21;", "$$40;", "$$23;", "$$24;", "$$25;",
["$$5E;", "Circumflex"], "$$26;", "$$2A;", "$$28;", "$$29;", "$$5F;", "$$2B;",
"$$51;", "$$57;", "$$46;", "$$50;", "$$47;", "$$4A;", "$$4C;", "$$55;", "$$59;", "$$3B;", "$$7B;", "$$7D;", "$$7C;",
"$$41;", "$$52;", "$$53;", "$$54;", "$$44;", "$$48;", "$$4E;", "$$45;", "$$49;", "$$4F;", "$$27;", ,
"$$5A;", "$$58;", "$$43;", "$$56;", "$$42;", "$$4B;", "$$4D;", "$$3C;", "$$3E;", "$$3F;"
],</code></pre>
|
|
|
|
|
I have noticed users at my kiosk implementation of the virtual keyboard pausing in search of the "spacebar". Although most users will know where the spacebar is, how can I include the text "Spacebar" on the keyboard? I tried altering vkboard.js by adding kb_space.innerHTML = "Spacebar"; but this did not add the text over the spacebar. Suggestions?
Thanks,
Jerry
|
|
|
|
|
Hi Jerry,
McJerry wrote: how can I include the text "Spacebar" on the keyboard?
1. In the _refresh_layout method, search for the line:
key.innerHTML = this.DeadAction[1] ? this.DeadAction[0] : " "; Change it to:
key.innerHTML = this.DeadAction[1] ? this.DeadAction[0] : "Space";
2. In the _generic_callback_proc method, search for the line:
case " ": val = " "; break; Change it to:
case "Space": val = " "; break; Hope it helps Best regards,
- Dmitry.
Listen up! "Teamwork" means staying out of my way! (Seifer, Final Fantasy 8).
|
|
|
|
|