1var clsMain = new Main(); 2 3 4 5function Main() 6 7{ 8 9 var clsMethod = new Method(); 10 11 12 13 if (typeof Sub == 'function') { 14 15 var clsSub = new Sub(); 16 17 } 18 19 20 21 $('.blank').click(clsMethod.blank); 22 23 $('#back').click(clsMethod.back); 24 25 $('#close').click(clsMethod.close); 26 27 $('.open').click(clsMethod.open); 28 29 $('#scroll a').click(clsMethod.scroll); 30 31 32 33 $('#globalnav li a img').mouseover(function() { 34 35 $(this).stop().animate({opacity: 0.8}, 150); 36 37 }).mouseout(function() { 38 39 $(this).stop().animate({opacity: 1}, 400); 40 41 }); 42 43 44 45 $('.tab a img').mouseover(function() { 46 47 $(this).stop().animate({opacity: 0.3}, 150); 48 49 }).mouseout(function() { 50 51 $(this).stop().animate({opacity: 1}, 400); 52 53 }); 54 55} 56 57 58 59function Method() 60 61{ 62 63 this.back = function() 64 65 { 66 67 history.back(); 68 69 return false; 70 71 }; 72 73 74 75 this.blank = function() 76 77 { 78 79 window.open(this.href); 80 81 return false; 82 83 }; 84 85 86 87 this.close = function() 88 89 { 90 91 window.close(); 92 93 return false; 94 95 }; 96 97 98 99 this.open = function() 100 101 { 102 103 window.open(this.href, '_blank', 'scrollbars=yes,width=856,height=766'); 104 105 return false; 106 107 }; 108 109 110 111 this.scroll = function() 112 113 { 114 115 $.scrollTo($('body'), 500); 116 117 return false; 118 119 } 120 121} 122 123 124$(function() { 125 var topBtn = $('#page-top'); 126 topBtn.hide(); 127 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 128 $(window).scroll(function () { 129 if ($(this).scrollTop() > 100) { 130 topBtn.fadeIn(); 131 } else { 132 topBtn.fadeOut(); 133 } 134 }); 135 //ã¹ã¯ãã¼ã«ãã¦ããã 136 topBtn.click(function () { 137 $('body,html').animate({ 138 scrollTop: 0 139 }, 500); 140 return false; 141 }); 142}); 143 144$(function() { 145 var topBtn = $('#telbtn'); 146 topBtn.hide(); 147 $(window).scroll(function () { 148 if ($(this).scrollTop() > 100) { 149 topBtn.fadeIn(); 150 } else { 151 topBtn.fadeOut(); 152 } 153 }); 154}); 155 156$(function() { 157 var topBtn = $('#rebtn'); 158 topBtn.hide(); 159 $(window).scroll(function () { 160 if ($(this).scrollTop() > 100) { 161 topBtn.fadeIn(); 162 } else { 163 topBtn.fadeOut(); 164 } 165 }); 166}); 167 168$(function() { 169 var topBtn = $('#blbtn'); 170 topBtn.hide(); 171 $(window).scroll(function () { 172 if ($(this).scrollTop() > 100) { 173 topBtn.fadeIn(); 174 } else { 175 topBtn.fadeOut(); 176 } 177 }); 178}); 179 180$(function() { 181 var topBtn = $('#mmbtn'); 182 topBtn.hide(); 183 $(window).scroll(function () { 184 if ($(this).scrollTop() > 100) { 185 topBtn.fadeIn(); 186 } else { 187 topBtn.fadeOut(); 188 } 189 }); 190}); 191 192$(function() { 193 var topBtn = $('#stbtn'); 194 topBtn.hide(); 195 $(window).scroll(function () { 196 if ($(this).scrollTop() > 100) { 197 topBtn.fadeIn(); 198 } else { 199 topBtn.fadeOut(); 200 } 201 }); 202}); 203 204$(function() { 205 var topBtn = $('#fixbtn'); 206 topBtn.hide(); 207 $(window).scroll(function () { 208 if ($(this).scrollTop() > 325) { 209 topBtn.fadeIn(); 210 } else { 211 topBtn.fadeOut(); 212 } 213 }); 214}); 215 216$(function() { 217 var topBtn = $('#fixindex'); 218 topBtn.hide(); 219 $(window).scroll(function () { 220 if ($(this).scrollTop() > 520) { 221 topBtn.fadeIn(); 222 } else { 223 topBtn.fadeOut(); 224 } 225 }); 226}); 227 228$(function() { 229 var topBtn = $('#schebtn'); 230 topBtn.hide(); 231 $(window).scroll(function () { 232 if ($(this).scrollTop() > 100) { 233 topBtn.fadeIn(); 234 } else { 235 topBtn.fadeOut(); 236 } 237 }); 238});
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.