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
精彩评论