Hello everyone, I posted here earlier and got a response, now I got another question! :]
So, i got the following code, its working pretty fine, but I cannot manage to close my modal, i mean I can .hide or .remove, but I dont want either, cause I dont want the video inside it to keep playing.
Here is the part I think I need to fix
$('.window .close').click(function (e) {
e.preventDefault();
$('#mask').hide();
$('.window').hide();
});
$('#mask').click(function () {
$(this).hide();
$('.window').hide();
So... here is the complete code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('a[name=modal]').click(function(e) {
e.preven ...
Go to the complete details ...