Two tiny functions that return the available width and height inside the browser window. These functions can be used as variables and as the dimensions are calculated every time they are used, your script will always be using the current window size ...
Code snippet to automatically move a window to a specified X,Y coordinate. For example, you can automatically move a window to X0,Y0 (upper left). Great to use this in pages in your site you link to using target=&"_blank&" (new wind...
This JavaScript code allows you to ensure a window to remain in focus, on top. Useful for web site news or smaller popup windows that are easily shuffled under out of focus. Try to change focus to a different page, click another window, and you will ...
JavaScript allows you to create (open) new windows. In these windows you can place whatever HTML code you wish, and even have actions in one window effect what is happening in another window. This tutorial explains how to create various types of pop-...