1;(function($) { 2 3 $.noty.layouts.center = { 4 name: 'center', 5 options: { // overrides options 6 7 }, 8 container: { 9 object: '<ul id="noty_center_layout_container" />', 10 selector: 'ul#noty_center_layout_container', 11 style: function() { 12 $(this).css({ 13 position: 'fixed', 14 width: '310px', 15 height: 'auto', 16 margin: 0, 17 padding: 0, 18 listStyleType: 'none', 19 zIndex: 10000000 20 }); 21 22 // getting hidden height 23 var dupe = $(this).clone().css({visibility:"hidden", display:"block", position:"absolute", top: 0, left: 0}).attr('id', 'dupe'); 24 $("body").append(dupe); 25 dupe.find('.i-am-closing-now').remove(); 26 dupe.find('li').css('display', 'block'); 27 var actual_height = dupe.height(); 28 dupe.remove(); 29 30 if ($(this).hasClass('i-am-new')) { 31 $(this).css({ 32 left: ($(window).width() - $(this).outerWidth(false)) / 2 + 'px', 33 top: ($(window).height() - actual_height) / 2 + 'px' 34 }); 35 } else { 36 $(this).animate({ 37 left: ($(window).width() - $(this).outerWidth(false)) / 2 + 'px', 38 top: ($(window).height() - actual_height) / 2 + 'px' 39 }, 500); 40 } 41 42 } 43 }, 44 parent: { 45 object: '<li />', 46 selector: 'li', 47 css: {} 48 }, 49 css: { 50 display: 'none', 51 width: '310px' 52 }, 53 addClass: '' 54 }; 55 56})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.