Open jamuk opened 5 years ago
I have the same issue, the same demo01 opens for all the other boxes..
Hey there, solved by putting this
for (var i = 0; i < 10; i++) {
$("#demo0" + i).animatedModal({
modalTarget:"modal-0" + i,
});
}
instead of this
$("#demo01,#demo02,#demo03,#demo04,#demo05,#demo06,#demo07,#demo08,#demo09").animatedModal();
and putting following HTML
<a id="demo01" href="#modal-01" class="portfolio_item">
<--- ... --->
</a>
<--- ... --->
<div id="modal-01" class="popup-modal">
<--- ... --->
</div>
<--- demo02 modal-02 demo03 modal-03 and so on... --->
can someone help me with why this doesn't work, it keeps opening the demo01 but not demo02.