The lightbox technique uses JavaScript to create a layer above the current web page. The layer can display content from the base page, or from another web page.

Lightboxes are commonly used for slideshows.