mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +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) {
|
||||
$('div.popupbox').toggle();
|
||||
console.log('Hallo');
|
||||
$("body").on("click", "span.openpopupbox", function(e) {
|
||||
$(""+$(e.target).data("href")).toggle();
|
||||
});
|
||||
$("body").on("click", "span.closepopupbox", function(e) {
|
||||
$(this).parent().hide();
|
||||
});
|
||||
|
||||
}); /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user