使用 Pnotify 插件 http://sciactive.com/pnotify/
我正在尝试将其重新定位到屏幕的左下角,并让它向上推连续菜单..
定位没问题,但是通知器的方向都是叠在一起的(我只看到最新的通知,其余的都在后面)
代码应该是直截了当的,
var stack_bottomleft = {"dir1": "up", "dir2": "up", "push": "top"};
new PNotify({
title: "Title",
type: "Success",
text: "My Message 1",
animation: "fade",
animate_speed: 'fast',
addclass: "stack-bottomleft",
stack: stack_bottomleft
});
new PNotify({
title: "Title",
type: "Success",
text: "My Message 2",
animation: "fade",
animate_speed: 'fast',
addclass: "stack-bottomleft",
stack: stack_bottomleft
});
new PNotify({
title: "Title",
type: "Success",
text: "My Message 3",
animation: "fade",
animate_speed: 'fast',
addclass: "stack-bottomleft",
stack: stack_bottomleft
});
也许是一个错误?