WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Help me please! .htc problem, Vadim, June 8, 2005

Subject: Help me please! .htc problem From: Vadim Date: June 8, 2005

Hi!

I have a simple page and a sample .htc control

<html>
<body>
<input type="text" style="behavior: url(www.htc)">
</body>
</html>

www.htc:

<public:component lightweight="true">
<public:attach event="onkeydown" onevent="maskKeyPress()"/>

<script>
function maskKeyPress()
{
  var iKeyCode, strKey;
  iKeyCode = window.event.keyCode;
  strKey = String.fromCharCode(iKeyCode);
  window.status = strKey;
 
}

</script>
</public:component>

When i type anything in text box in Englesh - everything OK (except  left numpad on the keyboard- instead numbers it appears to show characters)

But when I change my keyboard layout to my national layout (russian) - it allways show only big latin characters. Why?

Help me please!!!




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX