Sha256: 585d182a17bbc3fb15b8bdf04f989316c8dd53364a4c9fec06204832e13d8503

Contents?: true

Size: 732 Bytes

Versions: 4

Compression:

Stored size: 732 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
noty-rails-2.1.0.1 vendor/assets/javascripts/noty/layouts/bottomCenter.js
noty-rails-2.1.0 vendor/assets/javascripts/noty/layouts/bottomCenter.js
ocp_registry-0.0.5.pre public/noty/js/layouts/bottomCenter.js
ocp_registry-0.0.1.alpha public/noty/js/layouts/bottomCenter.js