Loading AJAX/iFrame/Inline Content

To load content via AJAX you need to add a  data-lightbox-type="ajax" attribute to your link. For example:

<a href="demo.html" data-lightbox-type="ajax">Load via AJAX</a> 

As of v1.2.0 the same appplies for iframe's and inline HTML:

<a href="demo.html" data-lightbox-type="iframe">Load iFrame</a> 
<a href="#my-div" data-lightbox-type="inline">Load Inline HTML</a>