I am currently using JQUERY POPTROX: https://github.com/n33/jquery.poptrox
To create my popups. However, currently, what i understand is that this is the syntax:
<ul>
<li><a href="path/to/image1.jpg"><img src="path/to/image1_thumbnail.jpg" /></a></li>
<li><a href="path/to/image2.jpg"><img src="path/to/image2_thumbnail.jpg" /></a></li>
<li><a href="path/to/image3.jpg"><img src="path/to/image3_thumbnail.jpg" /></a></li>
</ul>
However, i was thinking is there a way to make the pop up display HTML content (e.g divs) ferried via ajax rather than images/videos? Thanks!