1(function(){ 2 "use strict"; 3 4 $(window).on('scroll', function() { 5 var //main = $('main').offset().top, 6 scr = $(window).scrollTop(); 7 8 if (scr > 0) { 9 $('.fix_area').addClass('on'); 10 } else { 11 $('.fix_area').removeClass('on'); 12 } 13 }); 14 15 16 /* plan faq 17 **********************************************************************/ 18 $("#plan .open_btn").on("click",function(){ 19 var $open = $(this).siblings(".open_area"), 20 openH = $open.children("ul").outerHeight(); 21 22 if($(this).parent("li").hasClass("close")){ 23 $open.animate({"height":"0"},400); 24 $(this).parent("li").removeClass("close"); 25 }else{ 26 $open.animate({"height":openH+"px"},400); 27 $(this).parent("li").addClass("close"); 28 } 29 30 return false; 31 }); 32 33 $("#faq .question").on("click",function(){ 34 var $open = $(this).siblings(".answer"), 35 openH = $open.children("div").outerHeight(); 36 37 if($(this).parent("li").hasClass("on")){ 38 $open.animate({"height":"0"},400); 39 $(this).parent("li").removeClass("on"); 40 }else{ 41 $open.animate({"height":openH+"px"},400); 42 $(this).parent("li").addClass("on"); 43 } 44 45 return false; 46 }); 47 48})();
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.