JavaScript
JavaScript:
Try this:
Then add this to the JavaScript:
Quote the above and look at the solitary "J" characters. Magic!
JavaScript:
Try this:
<button class="closeModal" href="#">Close</button>
Then add this to the JavaScript:
$('.modalBox .closeModal').on('click', function(event)
{
event.preventDefault();
$('#mask, .modalBox').hide();
});
Quote the above and look at the solitary "J" characters. Magic!