Video below demonstrates functionality.
- Click an image to open its lightbox
- Click left and right arrows to traverse images, X to escape
- Press left and right arrow keys to traverse images, ESC to escape
- While scrolling through page, lightbox stays fixed to centre
Visit Simple Lightbox here.
Visit Github Directory to see code.