Sha256: 1e9db8eb630c22248df28bfc26baedddc3b71e8edf0a9c4ea7097c4bbe272885
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
(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);
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/topRight.js |
noty-rails-2.2.9 | vendor/assets/javascripts/noty/layouts/topRight.js |