官网是http://nyromodal.nyrodev.com/
In order to work, you will have to:
- Include nyroModal.css stylesheet
- Include jQuery
- Include jquery.nyroModal.js javaScript
- Include jquery.nyromodal-ie6.js javascript for IE 6 compatibility. You have to include it with conditionnal comment.
- Bind your elements to be nyroModal ready
直接通过
$(function() {
$('.nyroModal').nyroModal();
});
调用。