Sha256: 2f8660345ac40df7c3e5a53cd65754461a6b5903942c71ebfb39c3bde8da13f6

Contents?: true

Size: 716 Bytes

Versions: 31

Compression:

Stored size: 716 Bytes

Contents

(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);

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
carnival-0.3.2 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.3.1 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.3.0 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.8 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.7 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.6 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.5 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.4 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.3 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.10 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.2 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.1 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.2.0 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.9 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.8 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.7 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.6 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.5 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.3 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js
carnival-0.1.2 app/assets/javascripts/carnival/external/noty/layouts/topCenter.js