-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
My application in rails says me this error on firebug:
TypeError: $(...).nyroModal is not a function
beforeShowCont: function() {
When I call Script.js:
var width = 1152;
var height = 864;
$('.modal').nyroModal({
sizes: {
initW: width, initH: height,
minW: width, minH: height,
w: width, h: height
},
callbacks: {
beforeShowCont: function() {
width = $('.nyroModalCont').width();
height = $('.nyroModalCont').height();
$('.nyroModalCont iframe').css('width', width);
$('.nyroModalCont iframe').css('height', height);
}
}
});
I change "$('.modal').nyroModal({"
to $(".nyroModal").nm({ but it doesn't works.
What can I do?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels