【发布时间】:2014-10-09 02:16:45
【问题描述】:
使用 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
});
也许是一个错误?
【问题讨论】: