@tekboyauthorSep 28.2006 — #thanks i tried your code but i couldnt get it to work [CODE] <script> onkeydown = function(e) {if (e.keyCode == e.DOM_VK_ESCAPE){layer.style.display = "none";}} i have also tried this not working either </script> <body onkeydown = function(e)>[/CODE]
i tried this but wont work either what im doing wrong [CODE] <html> <head> <script> function keyPressHandler(e) { var kC = (window.event) ? // MSIE or Firefox? event.keyCode : e.keyCode; var Esc = (window.event) ?