mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-22 00:40:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			705 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			705 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| ;(function($) {
 | |
| 
 | |
| 	$.noty.layouts.topRight = {
 | |
| 		name: 'topRight',
 | |
| 		options: { // overrides options
 | |
| 			
 | |
| 		},
 | |
| 		container: {
 | |
| 			object: '<ul id="noty_topRight_layout_container" />',
 | |
| 			selector: 'ul#noty_topRight_layout_container',
 | |
| 			style: function() {
 | |
| 				$(this).css({
 | |
| 					top: 20,
 | |
| 					right: 20,
 | |
| 					position: 'fixed',
 | |
| 					width: '310px',
 | |
| 					height: 'auto',
 | |
| 					margin: 0,
 | |
| 					padding: 0,
 | |
| 					listStyleType: 'none',
 | |
| 					zIndex: 10000000
 | |
| 				});
 | |
| 
 | |
| 				if (window.innerWidth < 600) {
 | |
| 					$(this).css({
 | |
| 						right: 5
 | |
| 					});
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		parent: {
 | |
| 			object: '<li />',
 | |
| 			selector: 'li',
 | |
| 			css: {}
 | |
| 		},
 | |
| 		css: {
 | |
| 			display: 'none',
 | |
| 			width: '310px'
 | |
| 		},
 | |
| 		addClass: ''
 | |
| 	};
 | |
| 
 | |
| })(jQuery); | 
