Please wait, preparing script...
Here's an example layer.
It's got text in it, and is positioned absolutely...
[ scroll down for readme... ]

Cross-Browser Modular DHTML API

by Angus Turnbull - http://www.twinhelix.com. Updated: 28 August 2002.


This library is designed to make coding cross-browser projects a lot easier, in Netscape 4, NS6, and IE4 and higher, with partial functionality in Opera 5 and 6.

It is built to be small and fast, and also possible to include in a page several times safely while maintaining previous information (for all the cut-n-paste script combiners out there). From its modular design, you can take as little as you need for each project and add in additional objects and functions later when needed.

Please note, this will NOT teach you DHTML, it will NOT ensure your scripts run perfectly in every browser, and you need to be very familiar with JavaScript to use it effectively. Having a good idea of regular DHTML (i.e. the various DOMs of the browsers) is also recommended. I use it in all my scripts and it can make code much more readable (less inline if/else statements).

It includes several modules, namely:

Usage instructions and examples are in the source. Page and event objects demonstration:

Window Width: Height:

Good luck - Angus