Lightbox (JavaScript): Difference between revisions

Content deleted Content added
Added Link to german translation of Lightbox
Suit (talk | contribs)
How it works: tag != element
Line 16:
== How it works ==
 
On a Lightbox-enabled page, a user can click an image to have it magnified in a Lightbox window, which resizes itself according to the size of the image using a gliding animation. Lightbox determines which images will be shown in the modal window through the XHTML "rel" attribute, which is used on an <a> tagelement wrapped around the <img> tagelement. Lightbox also provides a way to attach captions to images and to run a slide show, which can be navigated using the arrow keys.
 
== Functionality ==