Browser Window Disabler

This little JavaScript class performs a simple, but useful task. It disables a browser window and grays it out so that none of the links or controls on the page can be used.

How it Works

The Disabler inserts a division into the page then sets it to be as tall and wide as the entire page, gives it an opacque background and positions it over the page. This allows the elements of the page to show through the division but appear to be turned off due to the semi-transparent background of the cover.

The class includes the ability to configure the base color of the cover as well as the percentage of opacity (or transparency).

See documentation in the file for how to use it.

Download Window Disabler (Downloads: 49)

;