felixhagspiel / jsOnlyLightbox

Responsive Lightbox in plain JS. No need for jQuery.
MIT License
157 stars 51 forks source link

Add HTML support #7

Open felixhagspiel opened 9 years ago

K4T commented 9 years ago

Hey, I really need display HTML content instead of image in lightbox. Is it possible?

felixhagspiel commented 9 years ago

@K4T sorry, this is not yet possible. I am very busy atm, and that is a major change, so it will not be implemented in the near future, sorry. but you can look here for a lightbox with HTML support

dec commented 8 years ago

Hello,

@K4T, a possible workaround (maybe obvious) is to use an image which contains the text we wanted, even formated as HTML do. Such image can contain the required information and/or can link to the information we wanted to shown.

P.D. Congrats for jsOnlyLightbox, @felixhagspiel, they looks very nice!

ghost commented 6 years ago

@K4T Lity is fantastic for html, images, videos, maps, iframes, etc... I used to have it on my website, but I switched to jsOnlyLightbox, because it didn't require jQuery or Zepto.js and is much smaller. https://sorgalla.com/lity/

In fact when I used Lity, I edited the code to remove parts for html and videos. But then I found this project last week, and it works for me better. But check out Lity