谁能告诉我如何使用 magnific-popup jquery 插件(使用 ajax)在弹出窗口中打开弹出窗口。
$('.ajax-popup-link').magnificPopup({
type: 'ajax'
});
<a href="path-to-file.html" class="ajax-popup-link"> Link 1 </a>
关于“文件路径.html”
<a href="path-to-other-file.html" class="ajax-popup-link"> next popup </a>
Thanks
您不能同时打开两个窗口。但是弹出窗口的内容在第二次调用时被替换,这里是示例 -http://codepen.io/dimsemenov/pen/hwIng
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)