Sha256: 529ab9fd95fc0773fae276cd3a0866ad88b18f5219e1e17038d043fcaea01725
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
post_reorder-0.0.1 | app/assets/javascripts/plugins/post_reorder/noty/layouts/topCenter.js |
noty-rails-2.2.9 | vendor/assets/javascripts/noty/layouts/topCenter.js |