© 2024 fjorge. All rights reserved.
Custom jQuery "lightbox"
One thing I learned this week was how to make my own "lightbox" in jQuery. I've always used tools like thickbox or lightbox, but I've never actually needed to change some of it's functionality. Or for that matter, change the look of it other than a quick color swap or two.
The below code is the main HTML of the light box. It's quite fantastic because anything inside the "modal-container" div can be styled exactly how you need it without the over-extensive code written for other light-boxes: