You can turn any link you like in to a modal link using this module. It utilises the markup of the link in conjunction with the modal module.
Use
var m = new MODALLINK({
link: $('#some-link')
});
Options
- link - a jQuery object, which should be a link. The script will automatically parse for links with the class
.js-modal
.