| Current Path : /home/happyrenas/old/huissier-express.fr/administration/assets/pages/scripts/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/happyrenas/old/huissier-express.fr/administration/assets/pages/scripts/ui-bootstrap-growl.js |
var UIBootstrapGrowl = function() {
return {
//main function to initiate the module
init: function() {
$('#bs_growl_show').click(function(event) {
$.bootstrapGrowl($('#growl_text').val(), {
ele: 'body', // which element to append to
type: $('#growl_type').val(), // (null, 'info', 'danger', 'success', 'warning')
offset: {
from: $('#growl_offset').val(),
amount: parseInt($('#growl_offset_val').val())
}, // 'top', or 'bottom'
align: $('#growl_align').val(), // ('left', 'right', or 'center')
width: parseInt($('#growl_width')), // (integer, or 'auto')
delay: $('#growl_delay').val(), // Time while the message will be displayed. It's not equivalent to the *demo* timeOut!
allow_dismiss: $('#glowl_dismiss').is(":checked"), // If true then will display a cross to close the popup.
stackup_spacing: 10 // spacing between consecutively stacked growls.
});
});
}
};
}();
jQuery(document).ready(function() {
UIBootstrapGrowl.init();
});