Al Mackey's SmartLayers JavaScript Library

This is a library for serious DHTML JavaScript developers. Most of the instructions you'll need to get it working are in the smartlayer.js file in the zip you can download below. It can set up and manage layers dynamically in just about any HTML document. It works with MicroSoft Internet Explorer version 5 and above, NetScape Navigator 4.7 and above, and any browser using the Gecko engine (NetScape 6, Mozilla, etc). It has been successfully tested on Windows, Macintosh and UNIX.

This library is now in version 2, which supports the realtime changing of each layer's depth index.

To see this library in action, view the demos below, or go play Bubble Crack.



View The Simple Demo

View The Complex Demo
(The complex demo is different every time, and due to heavy use of math, works mch better in Internet Explorer than NetScape)

View The 3-D Demo
(Uses new features in SmartLayers v2)

Download SmartLayers ZIP