23 lines
689 B
JSON
Executable File
23 lines
689 B
JSON
Executable File
<!-- required files -->
|
|
<link href="../assets/plugins/gritter/css/jquery.gritter.css" rel="stylesheet" />
|
|
<script src="../assets/plugins/gritter/js/jquery.gritter.js"></script>
|
|
|
|
<script>
|
|
$.gritter.add({
|
|
title: 'This is a sticky notice!',
|
|
text: '...',
|
|
image: '../assets/img/user/user-2.jpg',
|
|
sticky: true,
|
|
time: '',
|
|
class_name: 'my-sticky-class gritter-light',
|
|
before_open: function(){ },
|
|
after_open: function(e){ },
|
|
before_close: function(manual_close) { },
|
|
after_close: function(manual_close){ }
|
|
});
|
|
|
|
$.gritter.removeAll({
|
|
before_close: function(e){ },
|
|
after_close: function(){ }
|
|
});
|
|
</script> |