Answer the question
In order to leave comments, you need to log in
There is a modal window with a form, you need to do one more, only with a different form. How to change js?
//popup
$(".callback");
varpopup = $(".popup");
var overlay = $(".overlay");
$(".callback").on("click", function() {
if($(this).hasClass("out"))
{
$(this).removeClass("out").addClass("in" );
overlay.fadeIn();
popup.fadeIn();
}
else
{
$(this).removeClass("in").addClass("out");
overlay.fadeOut();
popup.fadeOut();
}
} );
$(".close_popup").on("click",
overlay.fadeOut();
popup.fadeOut();
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question