top.js
550 Bytes
;(function($) {
$.noty.layouts.top = {
name: 'top',
options: {},
container: {
object: '<ul id="noty_top_layout_container" />',
selector: 'ul#noty_top_layout_container',
style: function() {
$(this).css({
top: 0,
left: '5%',
position: 'fixed',
width: '90%',
height: 'auto',
margin: 0,
padding: 0,
listStyleType: 'none',
zIndex: 9999999
});
}
},
parent: {
object: '<li />',
selector: 'li',
css: {}
},
css: {
display: 'none'
},
addClass: ''
};
})(jQuery);