»
EnglishFrenchVietnamese

Print - Accept Focus Until Closed - JavaScriptBank.com

Full version: jsB@nk » Browser » Window » Accept Focus Until Closed
URL: https://www.javascriptbank.com/accept-focus-until-closed.html

Accept Focus Until Closed © JavaScriptBank.comThis is a simple technique, but one we've been asked for very often. When you open a window and wish to keep it 'on top' of all others until closed, all you need do is add this small snippet to the body tag.

Full version: jsB@nk » Browser » Window » Accept Focus Until Closed
URL: https://www.javascriptbank.com/accept-focus-until-closed.html



JavaScript
<script language="JScript">// Accept Focus Until Closed// CodeFilter.comself.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);setInterval("x()",10);setInterval("y()",5);self.focus();function x(){}function y(){self.focus()};</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->