开发者

basic nyromodal functionality not working

I am unable to get nyroModal to work.

this is my code

HTML:

<a href='/<pa开发者_如何学Cth>' class='nyroModal'>Click Here</a>

JS:

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

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

note: jquery : 1.4.4


Did you add the link filter on nyroModal?
It's required in order to make a cliquable anchor to work with nyroModal


Go to: http://nyromodal.nyrodev.com/

Click on:

Create your own build

Make sure that Link filter is selected

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) ...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜