#javascript-code-08-overlay.js / js
// Create the transparent, gray, overlay var overlay = document.createElement("div"); overlay.id = "overlay"; // Make it so that when the grey background is clicked, // the gallery and background are hidden overlay.onclick = hideOverlay; // Add the overlay into the DOM document.body.appendChild( overlay );
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.