1 2 3// hover 4 5$(document).ready(function(e) { 6 $(".hover,.box01_dl,.index_box02 li,.header_list li,#btn_01,#btn_02,#btn_04,.navi_list_bnr li,#toTop").hover(function() 7 { 8 $(this).stop(1,1).animate({ 9 //backgroundColor:"#F6F4F5", 10 opacity:"0.7", 11 cursor:"pointer" 12 },300); 13 14 },function(){ 15 $(this).stop(1,1).animate({ 16 opacity:"1" 17 },300); 18 19 }); 20 21 $(".box03_list li,#campaignCon a img").hover(function() 22 { 23 $(this).stop(1,1).animate({ 24 //backgroundColor:"#F6F4F5", 25 opacity:"0.6", 26 cursor:"pointer" 27 },300); 28 29 },function(){ 30 $(this).stop(1,1).animate({ 31 opacity:"1" 32 },300); 33 34 }); 35}); 36 37 38 39$(function(){ 40 41$("#sp_menu").click(function(){ 42 43$("#sp_navi").slideToggle(); 44 45 46}); 47}); 48 49 50 51$(function(){ 52 $(".imgChange").click(function(){ 53 var imgSrc = $(this).attr("src"); 54 55 if($(this).attr("class") == "imgChange_on"){ 56 $(this).attr("class", "imgChange_off") 57 imgSrc = imgSrc.replace(/(_on)/, '') 58 $(this).attr("src", imgSrc) 59 60 return 61 } 62 63 $(this).attr("class", "imgChange_on") 64 $(this).attr("src", imgSrc.replace(/(\.gif|\.jpg|\.png)/g, '_on$1')) 65 66 }); 67}); 68 69 70 71 72$(function(){ 73 $("#mainmenu li").hover(function(){ 74 $("> ul:not(:animated)" , this).animate({ 75 height : "toggle", 76 opacity : "toggle" 77 }, 300 ); 78 }, 79 function(){ 80 $("> ul" , this).fadeOut("slow"); 81 }); 82}); 83 84 85 86 87 88 89//scroll 90 91 92 93(function($){ 94 $(function(){ 95 $('a[href^="#"]').click(function(){ 96 if ( $( $(this).attr('href') ).length ) { 97 var p = $( $(this).attr('href') ).offset(); 98 $('html,body').animate({ scrollTop: p.top }, 600); 99 } 100 return false; 101 }); 102 }); 103})(jQuery); 104 105//totop 106$(document).ready(function(e) { 107 if(!$("#facial-hair-removal-20150310").length){ 108 $("#toTop").hide(); 109 $(window).scroll(function () { 110 if ($(this).scrollTop() > 200) { 111 $("#toTop").fadeIn(); 112 } else { 113 $("#toTop").fadeOut(); 114 } 115 }); 116 } 117 if($("#floatMenu").length){ 118 $("#floatMenu").hide(); 119 $(window).scroll(function () { 120 if ($(this).scrollTop() > 200) { 121 $("#floatMenu").fadeIn(); 122 } else { 123 $("#floatMenu").fadeOut(); 124 } 125 }); 126 } 127});
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.