Solved

caps lock check

Posted on 2007-11-27
6
411 Views
Last Modified: 2013-11-19
hi,

does someone have a javascript code that checks if caps lock is on and displays a message balloon like windows does when your are going to insert a password and the caps lock is on?
i need it to apear everytime, but one time when the password input box has the focus and when clicking on the balloon the message disapears.

thanks in advance
0
Comment
Question by:eaweb
  • 3
  • 2
6 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
ID: 20360112
0
 
LVL 6

Expert Comment

by:starfailure
ID: 20360130
0
 
LVL 6

Expert Comment

by:starfailure
ID: 20360138
bleh.. i take that one back.. it sucks.
it says caps lock is on even if you use the shift key.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 21

Expert Comment

by:nizsmo
ID: 20360263
From my previous post, this one works good:
http://www.csua.berkeley.edu/~jgwang/capslock.htm

even with the shift key (ie it doesn't confuse between shift and caps lock!)
but the latter one has the same problem as starfailure mentioned.
0
 

Author Comment

by:eaweb
ID: 20360422
yes the code is ok, but isnt there a way to let a message balloon apear like windows style?
0
 
LVL 21

Expert Comment

by:nizsmo
ID: 20360515
That I am not sure, I haven't seen it on any webpages before, but I suspect (if it can be done) needs a bit of styling and javascript coding to get the desired effect.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question