A typical lightbox image display

Lightbox is a JavaScript library that displays images and videos by filling the screen, and dimming out the rest of the web page.[1]

The original JavaScript library was written by Lokesh Dhakar.[2] The term Lightbox may also refer to other similar JavaScript libraries. The technique gained widespread popularity due to its simple and elegant style.

The original Lightbox library used two JavaScript libraries, Prototype Javascript Framework[3] and script.aculo.us,[4] for its animations and positioning. In April 2012, the plugin was rewritten for jQuery.[5] The open-source nature of Lightbox encouraged developers to modify and fork the code, resulting in plugins such as Colorbox, Magnific Popup, Slimbox or Thickbox.

Lightbox scripts are dependent upon a browser's JavaScript support.[6] Browsers that do not load the script for whatever reason can instead simply load the image as a separate page load, losing the Lightbox effect but still retaining the ability to display the image.[7]

References

edit
  1. ^ Jakob Nielsen, Alertbox. "10 Best Application UIs".
  2. ^ Dhakar, Lokesh. "Lightbox JS". Retrieved 2012-12-17.
  3. ^ Herrington, Jack D. "Ajax and XML: Ajax for lightboxes". IBM DeveloperWorks. Retrieved 2008-05-21.
  4. ^ Schmitt, Christopher (2006). CSS Cookbook. O'Reilly. p. 204. ISBN 0-596-52741-1.
  5. ^ Dhakar, Lokesh. "Lightbox2". Retrieved 2012-12-17.
  6. ^ Schmitt, Christopher (2006). CSS Cookbook. O'Reilly. p. 207. ISBN 0-596-52741-1.
  7. ^ Zervaas, Quentin (2007). Practical Web 2.0 Applications with PHP. Springer. pp. 423. ISBN 1-59059-906-3.
edit
  • Wikimedia Commons logo Media related to Lightbox (JavaScript) at Wikimedia Commons

📚 Artikel Terkait di Wikipedia

Lightbox (disambiguation)

Angeles, California co-founded by Jim Demonakos in 2019 Lightbox (JavaScript), a particular JavaScript technique that displays images in a browser using modal

Modal window

"Modal Panel". Archived from the original on 2010-02-27. The popular Lightbox JavaScript library uses a modal panel approach for showing the images Jakob

Index of JavaScript-related articles

JSX (JavaScript) JWt (Java web toolkit) KaTeX KJS Knockout (web framework) Kopano (software) Leaflet (software) Less (stylesheet language) Lightbox (JavaScript)

360 product photography

lights and a white background. To obtain a pure white background, a white lightbox or light tent can be used to help light the object evenly, though these

CSS framework

graphical user interfaces such as accordion, tabs, slideshow or modal windows (Lightbox) equalizer to create equal height content often-used CSS helper classes

EXeLearning

headers and footers of images, videos and audios. It is possible to use the Lightbox effect from the editor itself using the "rel" attribute in links. Now it

The Last Mile (prison rehabilitation program)

Offline documentation browser. GitLab: Open source code repository platform. Lightbox: Image repository for student projects. Messaging: Classroom-Chat platform

Alamogordo, New Mexico

site. Fuel Entertainment partnered with Xbox Entertainment Studios and Lightbox to make a documentary about the massive 1983 Atari video game burial, said