Sha256: b5fa041a045773afad5127d0d2e07786370d6fc82d41763b6cda5c6f37efdc66
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noty-rails-2.2.9 | vendor/assets/javascripts/noty/layouts/bottomCenter.js |