rivkamak
asked on
modal.js doesn't close on click x
I am using the jquery modal.js file and when I click on the x the box doesn't close.
Is something wrong or covering the x.
You can see my file here:
http://parkplaceofbelvidere.com/Contact_Us.html
Is something wrong or covering the x.
You can see my file here:
http://parkplaceofbelvidere.com/Contact_Us.html
And how do we get the modal?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
add this in your document.ready block or in a script tag at the end of your body tag
$(".modal button.close")
.css("z-index",1)
.click(function() {
$(this).closest(".modal").fadeOut("slow");
});
To
.modal-header .close {}
add
z-index:1
.modal-header .close {}
add
z-index:1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.