Window and layer utilities

Window and layer info, move and size utilities. Written for JavaScript programmers. Experimental. Constantly updated.
  1. Register and download the files
  2. Include 'winutils.js' from the head of your page
  3. Call, use, view, edit or modify the utilities
  4. Email me comments and suggestions

This script is primarily for Internet Explorer 5+ or Nescape Navigator 6+, but most functions work in 4+ browsers too.

Mouse position
Relative to document Relative to window
MouseX= MouseX=
MouseY= MouseY=

Window position (relative to document) and size
Width= Left=
Height= Top=


Absolute positioned layer within master layer
Relative positioned master layer
Absolute positioned top layer

Relative positioned master layer
Visible= Z-index=
Width= Left=
Height= Top=
Absolute positioned layer within master layer
Visible= Z-index=
Width= Left=
Height= Top=
Absolute positioned top layer
Visible= Z-index=
Width= Left=
Height= Top=

1. Register and download the files

Before downloading the program you are requested to register yourself. There is no registration fee. If you register, you are allowed to use the program as a free software, and we will inform you about future upgrades.

You can download the files either in zip or in tgz format.

2. Include winutils.js from the head of your page

Insert the following line into the head of your page:
  <script src="winutils.js"></script>

2. Call, use, view, edit or modify the utilities

Feel free to do anything.

3. Use and comment

I use these utilities in many of my scripts. Please email comments and suggestions and I will include them in the next version. Of course full credit will be given to you in the head of the winutils.js script.