基本的模态功能不起作用 [英] basic nyromodal functionality not working

查看:91
本文介绍了基本的模态功能不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法让nyroModal工作.

I am unable to get nyroModal to work.

这是我的代码

HTML:

<a href='/<path>' class='nyroModal'>Click Here</a>

JS:

$(function() {
  $('.nyroModal').nyroModal();
});

当我单击单击此处"时,它会在新窗口中打开.

When I clicked on "Click here" it just opens in a new window.

注意:jQuery:1.4.4

note: jquery : 1.4.4

推荐答案

转到: http://nyromodal.nyrodev.com/

点击:

创建自己的版本

确保已选择链接过滤器

在下载的文件中,您会找到文件 jquery.nyroModal.custom.min.js ,其中应包含以下内容:

In downloaded files you will find file jquery.nyroModal.custom.min.js that should have this line:

jQuery(function ($, undefined) { $.nmFilters({ link: { is: function (nm) ...

这篇关于基本的模态功能不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆