Catch Character H and Popup

[Total: 0    Average: 0/5]

This will catch just one chacter – H

Body Code:

<SCRIPT language=JavaScript>
function document.onkeypress()
{
if (window.event.keyCode==72)
window.open("http://www.js-examples.com/","HLP1","toolbar=0,status=0,directories=0,scrollbars=1,resizable=1,menubar=no,left=0,top=0"); 
}
</SCRIPT>
Type 'H'.<BR>
If it doesnt work check 'Caps Lock' at Your computer. 

Times Viewed: 3

Leave a Reply

Your email address will not be published. Required fields are marked *