dbrekalo / simpleLightbox

SimpleLightbox is lightweight and responsive lightbox library with no dependencies. Display images, galleries, videos or custom content and control your lightbox with easy to use api.
http://dbrekalo.github.io/simpleLightbox/
MIT License
263 stars 76 forks source link

ajax, google maps #13

Open mmjaeger opened 5 years ago

mmjaeger commented 5 years ago

hello are there any examples in regards to using your Lightbox with google maps, Ajax content, etc.

talentedaamer commented 4 years ago

I think you can use lightbox.setContent('content from ajax response'); setContent method to set content dynamically.

on button click send ajax call. and inside in response you can use setContent() and show() methods.