1// åãã®ãã£ããã®èµ·ç¹ã¨ãªãã¢ãã¡ã¼ã·ã§ã³ã®ååãå®ç¾© 2function fadeAnime() { 3 // ãµã㣠4 5 $(".fadeInTrigger").each(function () { 6 //fadeInTriggerã¨ããã¯ã©ã¹åã 7 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 8 var scroll = $(window).scrollTop(); 9 var windowHeight = $(window).height(); 10 if (scroll >= elemPos - windowHeight) { 11 $(this).addClass("fadeIn"); // ç»é¢å ã«å ¥ã£ããfadeInã¨ããã¯ã©ã¹åãè¿½è¨ 12 } else { 13 $(this).removeClass("fadeIn"); // ç»é¢å¤ã«åºããfadeInã¨ããã¯ã©ã¹åãå¤ã 14 } 15 }); 16 17 $(".fadeUpTrigger").each(function () { 18 //fadeUpTriggerã¨ããã¯ã©ã¹åã 19 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 20 var scroll = $(window).scrollTop(); 21 var windowHeight = $(window).height(); 22 if (scroll >= elemPos - windowHeight) { 23 $(this).addClass("fadeUp"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 24 } else { 25 $(this).removeClass("fadeUp"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 26 } 27 }); 28 29 $(".fadeUpTrigger2").each(function () { 30 //fadeUpTriggerã¨ããã¯ã©ã¹åã 31 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 32 var scroll = $(window).scrollTop(); 33 var windowHeight = $(window).height(); 34 if (scroll >= elemPos - windowHeight) { 35 $(this).addClass("fadeUp2"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 36 } else { 37 $(this).removeClass("fadeUp2"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 38 } 39 }); 40 41 $(".fadeDownTrigger").each(function () { 42 //fadeDownTriggerã¨ããã¯ã©ã¹åã 43 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 44 var scroll = $(window).scrollTop(); 45 var windowHeight = $(window).height(); 46 if (scroll >= elemPos - windowHeight) { 47 $(this).addClass("fadeDown"); // ç»é¢å ã«å ¥ã£ããfadeDownã¨ããã¯ã©ã¹åãè¿½è¨ 48 } else { 49 $(this).removeClass("fadeDown"); // ç»é¢å¤ã«åºããfadeDownã¨ããã¯ã©ã¹åãå¤ã 50 } 51 }); 52 53 $(".fadeLeftTrigger").each(function () { 54 //fadeLeftTriggerã¨ããã¯ã©ã¹åã 55 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 56 var scroll = $(window).scrollTop(); 57 var windowHeight = $(window).height(); 58 if (scroll >= elemPos - windowHeight) { 59 $(this).addClass("fadeLeft"); // ç»é¢å ã«å ¥ã£ããfadeLeftã¨ããã¯ã©ã¹åãè¿½è¨ 60 } else { 61 $(this).removeClass("fadeLeft"); // ç»é¢å¤ã«åºããfadeLeftã¨ããã¯ã©ã¹åãå¤ã 62 } 63 }); 64 65 $(".fadeRightTrigger").each(function () { 66 //fadeRightTriggerã¨ããã¯ã©ã¹åã 67 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 68 var scroll = $(window).scrollTop(); 69 var windowHeight = $(window).height(); 70 if (scroll >= elemPos - windowHeight) { 71 $(this).addClass("fadeRight"); // ç»é¢å ã«å ¥ã£ããfadeRightã¨ããã¯ã©ã¹åãè¿½è¨ 72 } else { 73 $(this).removeClass("fadeRight"); // ç»é¢å¤ã«åºããfadeRightã¨ããã¯ã©ã¹åãå¤ã 74 } 75 }); 76 77 $(".fadeRightTrigger2").each(function () { 78 //fadeRightTriggerã¨ããã¯ã©ã¹åã 79 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 80 var scroll = $(window).scrollTop(); 81 var windowHeight = $(window).height(); 82 if (scroll >= elemPos - windowHeight) { 83 $(this).addClass("fadeRight2"); // ç»é¢å ã«å ¥ã£ããfadeRightã¨ããã¯ã©ã¹åãè¿½è¨ 84 } else { 85 $(this).removeClass("fadeRight2"); // ç»é¢å¤ã«åºããfadeRightã¨ããã¯ã©ã¹åãå¤ã 86 } 87 }); 88 89 // ãã¿ã 90 91 $(".flipDownTrigger").each(function () { 92 //flipDownTriggerã¨ããã¯ã©ã¹åã 93 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 94 var scroll = $(window).scrollTop(); 95 var windowHeight = $(window).height(); 96 if (scroll >= elemPos - windowHeight) { 97 $(this).addClass("flipDown"); // ç»é¢å ã«å ¥ã£ããflipDownã¨ããã¯ã©ã¹åãè¿½è¨ 98 } else { 99 $(this).removeClass("flipDown"); // ç»é¢å¤ã«åºããflipDownã¨ããã¯ã©ã¹åãå¤ã 100 } 101 }); 102 103 $(".flipLeftTrigger").each(function () { 104 //flipLeftTriggerã¨ããã¯ã©ã¹åã
105 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 106 var scroll = $(window).scrollTop(); 107 var windowHeight = $(window).height(); 108 if (scroll >= elemPos - windowHeight) { 109 $(this).addClass("flipLeft"); // ç»é¢å ã«å ¥ã£ããflipLeftã¨ããã¯ã©ã¹åãè¿½è¨ 110 } else { 111 $(this).removeClass("flipLeft"); // ç»é¢å¤ã«åºããflipLeftã¨ããã¯ã©ã¹åãå¤ã 112 } 113 }); 114 115 $(".flipLeftTopTrigger").each(function () { 116 //flipLeftTopTriggerã¨ããã¯ã©ã¹åã 117 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 118 var scroll = $(window).scrollTop(); 119 var windowHeight = $(window).height(); 120 if (scroll >= elemPos - windowHeight) { 121 $(this).addClass("flipLeftTop"); // ç»é¢å ã«å ¥ã£ããflipLeftTopã¨ããã¯ã©ã¹åãè¿½è¨ 122 } else { 123 $(this).removeClass("flipLeftTop"); // ç»é¢å¤ã«åºããflipLeftTopã¨ããã¯ã©ã¹åãå¤ã 124 } 125 }); 126 127 $(".flipRightTrigger").each(function () { 128 //flipRightTriggerã¨ããã¯ã©ã¹åã 129 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 130 var scroll = $(window).scrollTop(); 131 var windowHeight = $(window).height(); 132 if (scroll >= elemPos - windowHeight) { 133 $(this).addClass("flipRight"); // ç»é¢å ã«å ¥ã£ããflipRightã¨ããã¯ã©ã¹åãè¿½è¨ 134 } else { 135 $(this).removeClass("flipRight"); // ç»é¢å¤ã«åºããflipRightã¨ããã¯ã©ã¹åãå¤ã 136 } 137 }); 138 139 $(".flipRightTopTrigger").each(function () { 140 //flipRightTopTriggerã¨ããã¯ã©ã¹åã 141 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 142 var scroll = $(window).scrollTop(); 143 var windowHeight = $(window).height(); 144 if (scroll >= elemPos - windowHeight) { 145 $(this).addClass("flipRightTop"); // ç»é¢å ã«å ¥ã£ããflipRightTopã¨ããã¯ã©ã¹åãè¿½è¨ 146 } else { 147 $(this).removeClass("flipRightTop"); // ç»é¢å¤ã«åºããflipRightTopã¨ããã¯ã©ã¹åãå¤ã 148 } 149 }); 150 151 // ãã㣠152 153 $(".rotateXTrigger").each(function () { 154 //rotateXTriggerã¨ããã¯ã©ã¹åã 155 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 156 var scroll = $(window).scrollTop(); 157 var windowHeight = $(window).height(); 158 if (scroll >= elemPos - windowHeight) { 159 $(this).addClass("rotateX"); // ç»é¢å ã«å ¥ã£ããrotateXã¨ããã¯ã©ã¹åãè¿½è¨ 160 } else { 161 $(this).removeClass("rotateX"); // ç»é¢å¤ã«åºããrotateXã¨ããã¯ã©ã¹åãå¤ã 162 } 163 }); 164 165 $(".rotateYTrigger").each(function () { 166 //rotateYTriggerã¨ããã¯ã©ã¹åã 167 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 168 var scroll = $(window).scrollTop(); 169 var windowHeight = $(window).height(); 170 if (scroll >= elemPos - windowHeight) { 171 $(this).addClass("rotateY"); // ç»é¢å ã«å ¥ã£ããrotateYã¨ããã¯ã©ã¹åãè¿½è¨ 172 } else { 173 $(this).removeClass("rotateY"); // ç»é¢å¤ã«åºããrotateYã¨ããã¯ã©ã¹åãå¤ã 174 } 175 }); 176 177 $(".rotateLeftZTrigger").each(function () { 178 //rotateLeftZTriggerã¨ããã¯ã©ã¹åã 179 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 180 var scroll = $(window).scrollTop(); 181 var windowHeight = $(window).height(); 182 if (scroll >= elemPos - windowHeight) { 183 $(this).addClass("rotateLeftZ"); // ç»é¢å ã«å ¥ã£ããrotateLeftZã¨ããã¯ã©ã¹åãè¿½è¨ 184 } else { 185 $(this).removeClass("rotateLeftZ"); // ç»é¢å¤ã«åºããrotateLeftZã¨ããã¯ã©ã¹åãå¤ã 186 } 187 }); 188 189 $(".rotateRightZTrigger").each(function () { 190 //rotateRightZTriggerã¨ããã¯ã©ã¹åã 191 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 192 var scroll = $(window).scrollTop(); 193 var windowHeight = $(window).height(); 194 if (scroll >= elemPos - windowHeight) { 195 $(this).addClass("rotateRightZ"); // ç»é¢å ã«å ¥ã£ããrotateRightZã¨ããã¯ã©ã¹åãè¿½è¨ 196 } else { 197 $(this).removeClass("rotateRightZ"); // ç»é¢å¤ã«åºããrotateRightZã¨ããã¯ã©ã¹åãå¤ã 198 } 199 }); 200 201 // ãã³ã 202 203 $(".zoomInTrigger").each(function () { 204 //zoomInTriggerã¨ããã¯ã©ã¹åã
205 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 206 var scroll = $(window).scrollTop(); 207 var windowHeight = $(window).height(); 208 if (scroll >= elemPos - windowHeight) { 209 $(this).addClass("zoomIn"); // ç»é¢å ã«å ¥ã£ããzoomInã¨ããã¯ã©ã¹åãè¿½è¨ 210 } else { 211 $(this).removeClass("zoomIn"); // ç»é¢å¤ã«åºããzoomInã¨ããã¯ã©ã¹åãå¤ã 212 } 213 }); 214 215 // ãã¥ã 216 217 $(".zoomOutTrigger").each(function () { 218 //zoomOutTriggerã¨ããã¯ã©ã¹åã 219 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 220 var scroll = $(window).scrollTop(); 221 var windowHeight = $(window).height(); 222 if (scroll >= elemPos - windowHeight) { 223 $(this).addClass("zoomOut"); // ç»é¢å ã«å ¥ã£ããzoomOutã¨ããã¯ã©ã¹åãè¿½è¨ 224 } else { 225 $(this).removeClass("zoomOut"); // ç»é¢å¤ã«åºããzoomOutã¨ããã¯ã©ã¹åãå¤ã 226 } 227 }); 228 229 // ãã㣠230 231 $(".blurTrigger").each(function () { 232 //blurTriggerã¨ããã¯ã©ã¹åã 233 var elemPos = $(this).offset().top - 0; //è¦ç´ ããã50pxä¸ã® 234 var scroll = $(window).scrollTop(); 235 var windowHeight = $(window).height(); 236 if (scroll >= elemPos - windowHeight) { 237 $(this).addClass("blur"); // ç»é¢å ã«å ¥ã£ããblurã¨ããã¯ã©ã¹åãè¿½è¨ 238 } else { 239 $(this).removeClass("blur"); // ç»é¢å¤ã«åºããblurã¨ããã¯ã©ã¹åãå¤ã 240 } 241 }); 242 243 // ã«ã ã¼ã 244 245 $(".smoothTrigger").each(function () { 246 //smoothTriggerã¨ããã¯ã©ã¹åã 247 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 248 var scroll = $(window).scrollTop(); 249 var windowHeight = $(window).height(); 250 if (scroll >= elemPos - windowHeight) { 251 $(this).addClass("smooth"); // ç»é¢å ã«å ¥ã£ããsmoothã¨ããã¯ã©ã¹åãè¿½è¨ 252 } else { 253 $(this).removeClass("smooth"); // ç»é¢å¤ã«åºããsmoothã¨ããã¯ã©ã¹åãå¤ã 254 } 255 }); 256 257 // ã¹ã¼ãï¼æ ç·ã伸ã³ã¦åºç¾ï¼ 258 259 $(".lineTrigger").each(function () { 260 //lineTriggerã¨ããã¯ã©ã¹åã 261 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 262 var scroll = $(window).scrollTop(); 263 var windowHeight = $(window).height(); 264 if (scroll >= elemPos - windowHeight) { 265 $(this).addClass("lineanime"); // ç»é¢å ã«å ¥ã£ããlineanimeã¨ããã¯ã©ã¹åãè¿½è¨ 266 } else { 267 $(this).removeClass("lineanime"); // ç»é¢å¤ã«åºããlineanimeã¨ããã¯ã©ã¹åãå¤ã 268 } 269 }); 270 271 // ã·ã£ãï¼èæ¯è²ã伸ã³ã¦åºç¾ï¼ 272 273 $(".bgLRextendTrigger").each(function () { 274 //bgLRextendTriggerã¨ããã¯ã©ã¹åã 275 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 276 var scroll = $(window).scrollTop(); 277 var windowHeight = $(window).height(); 278 if (scroll >= elemPos - windowHeight) { 279 $(this).addClass("bgLRextend"); // ç»é¢å ã«å ¥ã£ããbgLRextendã¨ããã¯ã©ã¹åãè¿½è¨ 280 } else { 281 $(this).removeClass("bgLRextend"); // ç»é¢å¤ã«åºããbgLRextendã¨ããã¯ã©ã¹åãå¤ã 282 } 283 }); 284 285 $(".bgRLextendTrigger").each(function () { 286 //bgRLextendTriggerã¨ããã¯ã©ã¹åã 287 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 288 var scroll = $(window).scrollTop(); 289 var windowHeight = $(window).height(); 290 if (scroll >= elemPos - windowHeight) { 291 $(this).addClass("bgRLextend"); // ç»é¢å ã«å ¥ã£ããbgRLextendã¨ããã¯ã©ã¹åãè¿½è¨ 292 } else { 293 $(this).removeClass("bgRLextend"); // ç»é¢å¤ã«åºããbgRLextendã¨ããã¯ã©ã¹åãå¤ã 294 } 295 }); 296 297 $(".bgDUextendTrigger").each(function () { 298 //bgDUextendTriggerã¨ããã¯ã©ã¹åã 299 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 300 var scroll = $(window).scrollTop(); 301 var windowHeight = $(window).height(); 302 if (scroll >= elemPos - windowHeight) { 303 $(this).addClass("bgDUextend"); // ç»é¢å ã«å ¥ã£ããbgDUextendã¨ããã¯ã©ã¹åãè¿½è¨ 304 } else { 305 $(this).removeClass("bgDUextend"); // ç»é¢å¤ã«åºããbgDUextendã¨ããã¯ã©ã¹åãå¤ã 306 } 307 }); 308 309 $(".bgUDextendTrigger").each(function () { 310 //bgUDextendTriggerã¨ããã¯ã©ã¹åã
311 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 312 var scroll = $(window).scrollTop(); 313 var windowHeight = $(window).height(); 314 if (scroll >= elemPos - windowHeight) { 315 $(this).addClass("bgUDextend"); // ç»é¢å ã«å ¥ã£ããbgUDextendã¨ããã¯ã©ã¹åãè¿½è¨ 316 } else { 317 $(this).removeClass("bgUDextend"); // ç»é¢å¤ã«åºããbgUDextendã¨ããã¯ã©ã¹åãå¤ã 318 } 319 }); 320 321 $(".bgappearTrigger").each(function () { 322 //bgappearTriggerã¨ããã¯ã©ã¹åã 323 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 324 var scroll = $(window).scrollTop(); 325 var windowHeight = $(window).height(); 326 if (scroll >= elemPos - windowHeight) { 327 $(this).addClass("bgappear"); // ç»é¢å ã«å ¥ã£ããbgappearã¨ããã¯ã©ã¹åãè¿½è¨ 328 } else { 329 $(this).removeClass("bgappear"); // ç»é¢å¤ã«åºããbgappearã¨ããã¯ã©ã¹åãå¤ã 330 } 331 }); 332 333 $(".bgUDextendTrigger").each(function () { 334 //bgUDextendTriggerã¨ããã¯ã©ã¹åã 335 var elemPos = $(this).offset().top - 50; //è¦ç´ ããã50pxä¸ã® 336 var scroll = $(window).scrollTop(); 337 var windowHeight = $(window).height(); 338 if (scroll >= elemPos - windowHeight) { 339 $(this).addClass("bgUDextend"); // ç»é¢å ã«å ¥ã£ããbgUDextendã¨ããã¯ã©ã¹åãè¿½è¨ 340 } else { 341 $(this).removeClass("bgUDextend"); // ç»é¢å¤ã«åºããbgUDextendã¨ããã¯ã©ã¹åãå¤ã 342 } 343 }); 344 345 346//custom_right 347$(".custom_right_trigger").each(function () { 348 //custom_right_triggerã¨ããã¯ã©ã¹åã 349 var elemPos = $(this).offset().top - 10; //è¦ç´ ããã50pxä¸ã® 350 var scroll = $(window).scrollTop(); 351 var windowHeight = $(window).height(); 352 if (scroll >= elemPos - windowHeight) { 353 $(this).addClass("custom_right"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 354 } else { 355 $(this).removeClass("custom_right"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 356 } 357}); 358 359$(".custom_right_trigger2").each(function () { 360 //custom_right_trigger2ã¨ããã¯ã©ã¹åã 361 var elemPos = $(this).offset().top - 10; //è¦ç´ ããã50pxä¸ã® 362 var scroll = $(window).scrollTop(); 363 var windowHeight = $(window).height(); 364 if (scroll >= elemPos - windowHeight) { 365 $(this).addClass("custom_right2"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 366 } else { 367 $(this).removeClass("custom_right2"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 368 } 369}); 370 371$(".custom_right_trigger3").each(function () { 372 //custom_right_trigger3ã¨ããã¯ã©ã¹åã 373 var elemPos = $(this).offset().top - 10; //è¦ç´ ããã50pxä¸ã® 374 var scroll = $(window).scrollTop(); 375 var windowHeight = $(window).height(); 376 if (scroll >= elemPos - windowHeight) { 377 $(this).addClass("custom_right3"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 378 } else { 379 $(this).removeClass("custom_right3"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 380 } 381}); 382 383$(".custom_right_trigger4").each(function () { 384 //custom_right_trigger4ã¨ããã¯ã©ã¹åã 385 var elemPos = $(this).offset().top - 10; //è¦ç´ ããã50pxä¸ã® 386 var scroll = $(window).scrollTop(); 387 var windowHeight = $(window).height(); 388 if (scroll >= elemPos - windowHeight) { 389 $(this).addClass("custom_right4"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 390 } else { 391 $(this).removeClass("custom_right4"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 392 } 393}); 394 395$(".custom_right_trigger5").each(function () { 396 //custom_right_trigger4ã¨ããã¯ã©ã¹åã 397 var elemPos = $(this).offset().top - 10; //è¦ç´ ããã50pxä¸ã® 398 var scroll = $(window).scrollTop(); 399 var windowHeight = $(window).height(); 400 if (scroll >= elemPos - windowHeight) { 401 $(this).addClass("custom_right5"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 402 } else { 403 $(this).removeClass("custom_right5"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 404 } 405}); 406 407$(".custom_left_trigger3").each(function () { 408 //custom_left_trigger3ã¨ããã¯ã©ã¹åã
409 var elemPos = $(this).offset().top - 10; //è¦ç´ ããã50pxä¸ã® 410 var scroll = $(window).scrollTop(); 411 var windowHeight = $(window).height(); 412 if (scroll >= elemPos - windowHeight) { 413 $(this).addClass("custom_left3"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 414 } else { 415 $(this).removeClass("custom_left3"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 416 } 417}); 418 419$(".custom_left_trigger4").each(function () { 420 //custom_left_trigger4ã¨ããã¯ã©ã¹åã 421 var elemPos = $(this).offset().top - 0; //è¦ç´ ããã50pxä¸ã® 422 var scroll = $(window).scrollTop(); 423 var windowHeight = $(window).height(); 424 if (scroll >= elemPos - windowHeight) { 425 $(this).addClass("custom_left4"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 426 } else { 427 $(this).removeClass("custom_left4"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 428 } 429}); 430 431//custom_up 432$(".custom_up_trigger").each(function () { 433 //custom_up_triggerã¨ããã¯ã©ã¹åã 434 var elemPos = $(this).offset().top - 1000; //è¦ç´ ããã50pxä¸ã® 435 var scroll = $(window).scrollTop(); 436 var windowHeight = $(window).height(); 437 if (scroll >= elemPos - windowHeight) { 438 $(this).addClass("custom_up"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 439 } else { 440 $(this).removeClass("custom_up"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 441 } 442}); 443 444$(".custom_up_trigger2").each(function () { 445 //custom_up_trigger2ã¨ããã¯ã©ã¹åã 446 var elemPos = $(this).offset().top - 1000; //è¦ç´ ããã50pxä¸ã® 447 var scroll = $(window).scrollTop(); 448 var windowHeight = $(window).height(); 449 if (scroll >= elemPos - windowHeight) { 450 $(this).addClass("custom_up2"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 451 } else { 452 $(this).removeClass("custom_up2"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 453 } 454}); 455 456//custom_rotate 457$(".custom_rotate_trigger").each(function () { 458 //custom_rotate_triggerã¨ããã¯ã©ã¹åã 459 var elemPos = $(this).offset().top - 100; //è¦ç´ ããã50pxä¸ã® 460 var scroll = $(window).scrollTop(); 461 var windowHeight = $(window).height(); 462 if (scroll >= elemPos - windowHeight) { 463 $(this).addClass("custom_rotate"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 464 } else { 465 $(this).removeClass("custom_rotate"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 466 } 467}); 468 469$(".custom_rotate_trigger2").each(function () { 470 //custom_rotate_trigger2ã¨ããã¯ã©ã¹åã 471 var elemPos = $(this).offset().top - 100; //è¦ç´ ããã50pxä¸ã® 472 var scroll = $(window).scrollTop(); 473 var windowHeight = $(window).height(); 474 if (scroll >= elemPos - windowHeight) { 475 $(this).addClass("custom_rotate2"); // ç»é¢å ã«å ¥ã£ããfadeUpã¨ããã¯ã©ã¹åãè¿½è¨ 476 } else { 477 $(this).removeClass("custom_rotate2"); // ç»é¢å¤ã«åºããfadeUpã¨ããã¯ã©ã¹åãå¤ã 478 } 479}); 480 481} 482 483// ç»é¢ãã¹ã¯ãã¼ã«ããããåããããå ´åã®è¨è¿° 484$(window).scroll(function () { 485 fadeAnime(); /* ã¢ãã¡ã¼ã·ã§ã³ç¨ã®é¢æ°ãå¼ã¶*/ 486}); // ããã¾ã§ç»é¢ãã¹ã¯ãã¼ã«ããããåããããå ´åã®è¨è¿° 487 488// ç»é¢ãèªã¿è¾¼ã¾ãããããã«åããããå ´åã®è¨è¿° 489$(window).on("load", function () { 490 fadeAnime(); /* ã¢ãã¡ã¼ã·ã§ã³ç¨ã®é¢æ°ãå¼ã¶*/ 491}); // ããã¾ã§ç»é¢ãèªã¿è¾¼ã¾ãããããã«åããããå ´åã®è¨è¿°
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.