Make a nice top/bottom center global position

The example is in 'examples/position.html'
This commit is contained in:
Leo Ding
2016-02-16 11:55:18 +08:00
parent b99c2ae69c
commit 4bc2d70f4c
2 changed files with 24 additions and 2 deletions
+7
View File
@@ -36,6 +36,13 @@
});
});
$.notify('Line text 1', {position: 'top center'});
$.notify('Line text 01', {position: 'top center'});
$.notify('Line text 001', {position: 'top center'});
$.notify('Line text 1', {position: 'bottom center'});
$.notify('Line text 01', {position: 'bottom center'});
$.notify('Line text 001', {position: 'bottom center'});
</script>
</body>