Javascript window Always on top. How to create such one?

So I try:

window.onblur = function() { window.focus(); };

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

Need Your Help

jQueryUI DatePicker Validation

validation datepicker jquery-ui-dialog jquery-ui-datepicker

I am trying to validate the date fields so when you if you select a date in the future and in the second input box you select today's date it should not let you submit the form.

How to call a method after clicking a fieldset in primefaces?

jsf jsf-2 primefaces

This is the code from my .xhtml file and I added under the fieldset