mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			732 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			732 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| ;(function($) {
 | |
| 
 | |
| 	$.noty.layouts.bottomCenter = {
 | |
| 		name: 'bottomCenter',
 | |
| 		options: { // overrides options
 | |
| 
 | |
| 		},
 | |
| 		container: {
 | |
| 			object: '<ul id="noty_bottomCenter_layout_container" />',
 | |
| 			selector: 'ul#noty_bottomCenter_layout_container',
 | |
| 			style: function() {
 | |
| 				$(this).css({
 | |
| 					bottom: 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);
 | 
