开发者

Window Always on top. How to create such one?

So I try:

<html> 
<head>
</head> &l开发者_如何学编程t;body> 
<script>
window.onblur = function() {
   window.focus();
};
</script>
</body> </html> 

With idea in my head for window to always stay on top... but it does not. Why? How to fix this?


You can't make a Javascript popup window always stay on top, because you can't force focus on it from within the script.

And thank goodness for that! This would become the #1 Internet annoyance within weeks.

Related: If The Internet Was A Real Place - Chappelle's Show

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜