is it possible to open a colorbox iframe by clicking on a div like so?
<div class="somediv" onclick="$.colorbox({href:'preview.html'});">
This opens an Ajax modal, however I would like to open an iframe without having to store the url outside this div.
Is that possible?
Thanks 🙂
1 Answer