mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
add code to open and close popup box
This commit is contained in:
parent
ffcd0e8a4a
commit
3dcf867634
|
@ -989,9 +989,10 @@ $(document).ready(function() { /* {{{ */
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$('span.openpopupbox').on('click', function(e) {
|
$("body").on("click", "span.openpopupbox", function(e) {
|
||||||
$('div.popupbox').toggle();
|
$(""+$(e.target).data("href")).toggle();
|
||||||
console.log('Hallo');
|
});
|
||||||
|
$("body").on("click", "span.closepopupbox", function(e) {
|
||||||
|
$(this).parent().hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
}); /* }}} */
|
}); /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user