1/*íê¸*/ 2(function(a) { 3 a.fn.JQ_TopFixBar = function(b) { 4 var c = { 5 layer: "off", 6 openType: "slide", 7 openDelayTime: 500, 8 closeType: "slide", 9 autoCloseTime: 99999, 10 slideSpeed: 800, 11 day: 1, 12 bugHeight: 0 13 }; 14 a.extend(c, b); 15 return this.each(function() { 16 var g = a(this); 17 var i = $(".fixBar_closeBtn"); 18 var d = $(".fixBar_checkBox"); 19 l(); 20 21 function l() { 22 j(); 23 if (a.cookie("fixBar_topBanner") == "hide") { 24 g.hide() 25 } else { 26 m(); 27 k(); 28 h() 29 } 30 } 31 32 function j() { 33 if (c.layer == "on") { 34 g.css({ 35 position: "absolute" 36 }) 37 } else { 38 g.css({ 39 position: "relative" 40 }) 41 } 42 if (c.openType == "none") { 43 //g.show() 44 g.css({"display":"block"}) 45 // alert('none'); 46 } 47 } 48 49 function m() { 50 if (c.openType == "slide") { 51 g.hide(); 52 53 setTimeout(f, c.openDelayTime) 54 } 55 } 56 57 function k() { 58 setTimeout(e, c.autoCloseTime + c.openDelayTime) 59 } 60 61 function f() { 62 g.slideDown(c.slideSpeed) 63 } 64 65 function e() { 66 if (c.bugHeight == 0) { 67 g.slideUp(c.slideSpeed) 68 } else { 69 g.animate({ 70 "margin-top": -c.bugHeight 71 }, c.slideSpeed) 72 } 73 } 74 75 function h() { 76 i.bind("click", function() { 77 if (c.closeType == "slide") { 78 e() 79 } else { 80 //g.hide() 81 g.css({"display":"none"}) 82 } 83 if (d.find("input:checkbox:checked").length > 0) { 84 //alert('dd'); 85 a.cookie("fixBar_topBanner", "hide", { 86 path: "/", 87 expires: c.day 88 }) 89 } 90 }) 91 } 92 }) 93 } 94})(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.