Sliding Layers In and Out Onclick




Over 2000+ free Javascript
at JavaScriptBank.com Website

Sampled by JavaScriptBank.com

layer 1  |  layer 2  |  layer 3  |  layer 4

This is layer 1. It can glide into view once the page loads by calling the slideEm function at the end of the initGlideLayers function which is called onload. It also slides into view when you click its link.

Layer 2 here. You can put anything you like in the layers and add as many as you need. They can each be styled differently, including different top positions if you like.

Layer 3 here.

If you click again on the link for a layer while it is visible, that layer will slide back out of view.

Layer 4 here.