Jumping right into adding templates to Simple Lightbox today.
My main reasons for adding this functionality:
- Different styles of lightboxes generally require a completely different script. Why not create one script and let users decide the style that they want?
- Allow users to create and share templates with each other
I’m currently buttoning down the template “language”. It will mostly be straight HTML, but with a few special “tags” sprinkled in to make the HTML compatible with the lightbox code.
Once I finalize the template specification tomorrow, the next step will be to build the lightbox UI from a template file.