1/** 2 * =========================================== 3 * faqbox 4 * =========================================== 5**/ 6;(function($){ 7 $.fn.faqbox = function(options){ 8 var elemetns = this; 9 10 // ÀßÄê 11 var defaluts = { 12 width: '740', 13 height: '330', 14 speed: '300' 15 }; 16 17 var opts = $.extend({},defaluts,options); 18 19 // ÊÑ¿ô 20 var close_btn = $("#close_btn"), 21 overlay = $("#overlay"), 22 overlay_contents = $("#overlay_contents"), 23 close = $("#close_btn"); 24 25 // open 26 elemetns.on("click", function(){ 27 overlay.fadeIn(opts.speed); 28 overlay_contents.css({ 29 'width': opts.width + 'px', 30 'margin-top': '-' + opts.height / 2 + 'px', 31 'margin-left': '-' + opts.width / 2 + 'px' 32 }); 33 }); 34 35 // close 36 close.on("click", function(){ 37 overlay.fadeOut(opts.speed); 38 }); 39 }; 40})(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.