havLightbox Version 0.3 Released
September 23, 2025
I've just released version 0.3 of havLightbox on GitHub, my Vanilla JavaScript plugin for displaying images in an overlay lightbox. This update is a complete rewrite of the plugin.
This new version includes:
- Modern Dialog API: Uses native HTML <dialog> element for better accessibility
- Responsive Design: Automatically adapts to different screen sizes and orientations
- Touch Support: Swipe gestures for navigation on mobile devices
- Keyboard Navigation: Arrow keys for previous / next navigation
- Image Counter: Shows current position in gallery (e.g., "1 / 3")
- Optional Captions: Display custom captions for each image
- Smooth Animations: CSS-based animations for opening / closing
- Theme Support: Automatic light / dark theme detection
- Zero Dependencies: Pure vanilla JavaScript, no external libraries required
You can see the plugin in action on the projects page.