I have JavaScript that is doing activity periodically. When the user is not looking at the site (i.e., the window or tab does not have focus), it'd be nice to not run.  Is there a way to do this using JavaScript?  My reference point: Gmail Chat...
What is the difference between window.location.href and window.open () methods in JavaScript?...
I am looking for a code snippet to get the height of the viewable area within a browser window.  I had this code, however it is somewhat bugged as if the the body doesn't exceed the height the of the window then it comes back short.  document.b...
I have a javascript function that uses window.open to call another page and returning the result.  Here is the section of my code:  var windowFeatures = "status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=1, scrollbars=1";...
In JavaScript when to use window.opener / window.parent / window.top ?...
(Maybe) I just solved a my problem (How to update front-end content after that a form is successfully submitted from a dialog window?) by "storing" / "saving" a variable in the JavaScript window object. However, since I am newbie in...
When using javascript window.open() on a multi-monitor system, how do you control which monitor, or where in the display space the popup opens? It seems out of control to me and otherwise random in it's behavior....
I want to run a psychological study for which participants have to look at large images.  The experiment is done on the web and therefore in a browser window. Is it possible to tell the browser to go into fullscreen, for example on button press?  I k...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.