Demo of an Easy "Lightbox" Technique (Improved Code)

This is the main content. To display a lightbox click here

This is the lightbox content.




  1. Accessible (visitors w/JS disabled see the content)
  2. (JS-enabled visitors click here to see what the JS-disabled visitors see)
  3. Uses XHTML/CSS valid code (verify with footer links)
  4. It employs semantically-correct XHTML
  5. Fixed the "background fade" in IE6
  6. Fixed the "background fade" on pages with scrolling content


Click here to see the original version or read the accompanying article.