mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-14 11:26:26 +00:00
34 lines
550 B
JavaScript
34 lines
550 B
JavaScript
|
;(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);
|