Untitled UI logotext
Solutions
WebsitesEcommerceMobile AppsWeb AppsProduction Support & Maintenance
Our work
Company
About usBlogPodcastContact us
Book a free consultation

Custom jQuery "lightbox"

Olivia Rhye

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:

Ready to start a project?

Book a free consultation
Untitled UI logotext
Our work
About us
Blog
Careers
Submit a ticket
Agency Partnerships
Contact
© 2024 fjorge. All rights reserved.
Privacy