谁能告诉我如何使用magnific-popup jquery插件(使用Ajax)在弹出窗口中打开弹出窗口。
$('.ajax-popup-link').magnificPopup({
type: 'ajax'
});
<a href="path-to-file.html" class="ajax-popup-link"> Link 1 </a>
在“ path-to-file.html”上
<a href="path-to-other-file.html" class="ajax-popup-link"> next popup </a>
谢谢
您不能一次打开两个窗口。但是弹出的内容被替换为第二次调用时,这里是示例-http://codepen.io/dimsemenov/pen/hwIng
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句