forked from Coded/SIPRP
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							42 lines
						
					
					
						
							717 B
						
					
					
				
			
		
		
	
	
							42 lines
						
					
					
						
							717 B
						
					
					
				;(function($) {
 | 
						|
 | 
						|
	$.noty.layouts.topCenter = {
 | 
						|
		name: 'topCenter',
 | 
						|
		options: { // overrides options
 | 
						|
 | 
						|
		},
 | 
						|
		container: {
 | 
						|
			object: '<ul id="noty_topCenter_layout_container" />',
 | 
						|
			selector: 'ul#noty_topCenter_layout_container',
 | 
						|
			style: function() {
 | 
						|
				$(this).css({
 | 
						|
					top: 20,
 | 
						|
					left: 0,
 | 
						|
					position: 'fixed',
 | 
						|
					width: '310px',
 | 
						|
					height: 'auto',
 | 
						|
					margin: 0,
 | 
						|
					padding: 0,
 | 
						|
					listStyleType: 'none',
 | 
						|
					zIndex: 10000000
 | 
						|
				});
 | 
						|
 | 
						|
				$(this).css({
 | 
						|
					left: ($(window).width() - $(this).outerWidth(false)) / 2 + 'px'
 | 
						|
				});
 | 
						|
			}
 | 
						|
		},
 | 
						|
		parent: {
 | 
						|
			object: '<li />',
 | 
						|
			selector: 'li',
 | 
						|
			css: {}
 | 
						|
		},
 | 
						|
		css: {
 | 
						|
			display: 'none',
 | 
						|
			width: '310px'
 | 
						|
		},
 | 
						|
		addClass: ''
 | 
						|
	};
 | 
						|
 | 
						|
})(jQuery);
 |