Tag: code

A simple JavaScript Lightbox without dependencies 2024-02-19 in articles Contents Contents TLDR Abstract Features The Code JavaScript HTML CSS Most recent version TLDR photo.js: a simple zero-dependencies JavaScript image lightbox. Abstract Recently I got back into photography and wanted to show my photos on this website. So I searched the web for a script which would show large versions of the photos on a dark overlay without leaving the page. It should be easy to integrate into websites and pages should still be visible when the user has no JavaScript enabled.