Revision history [back]

click to hide/show revision 1
initial version

answered 2010-02-16 01:28:12 +0800

satshcool gravatar image satshcool

you can do this with JavaScript. to hide toolbar, menu ... etc., open your web application with this JS function that you can set according to your needs :

window.open("yourZKWebPage","windowName","width=200,height=100,toolbar=no,location=no,directories=no ,status=yes,menubar=no,scrollbars=no,resizable=yes");

And here, is an old code to intercept keyboard input, you can also customize it according to your needs :

function keydown() {
  if ((window.event.ctrlKey) || (window.event.shiftKey) || (window.event.keyCode==18) || ((window.event.keyCode>=112) && (window.event.keyCode<=123))) {
   if (window.confirm("Shortcuts are not allowed ! \nDo you want to exit this great site ?" ))
    top.close();
   else {
    setTimeout("form.focus();",30);
    window.event.returnValue = false;  
   }
   }
  }
document.onkeydown= keydown //All Keys are checked
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More