1/* 2 * This file is part of EC-CUBE 3 * 4 * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved. 5 * 6 * http://www.ec-cube.co.jp/ 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10*/ 11 12// ---------ã¹ã¯ãã¼ã«ããããããã¼ã«èæ¯ã------------ 13// $(function() { 14// var dist = 100; 15// $(window).scroll(function() { 16// if ($(window).scrollTop() > dist) { 17// $('.js_header').addClass('hdscroll'); 18// } else { 19// $('.js_header').removeClass('hdscroll'); 20// } 21// }); 22// 23// }); 24 25jQuery(function($){ 26 var menuHeight = $(".js_header").height(); 27var startPos = 65; 28$(window).scroll(function(){ 29 var currentPos = $(this).scrollTop(); 30 31 32 if (currentPos > startPos&¤tPos>100) { 33 $(".js_header").css("top", "-" + menuHeight + "px").removeClass('hdscroll'); 34 $("body").removeClass('hdr_offset'); 35 36 if($("#menuButton").attr('aria-expanded')=='true'&& window.matchMedia('(max-width:768px)').matches){ 37 $(".js_header").css("top", 0 + "px").addClass('hdscroll'); 38 $("body").addClass('hdr_offset'); 39 } 40 } else { 41 if ($(window).scrollTop() <= 100) { 42 $('.js_header').removeClass('hdscroll'); 43 $("body").removeClass('hdr_offset'); 44 }else{ 45 $(".js_header").css("top", 0 + "px").addClass('hdscroll'); 46 $("body").addClass('hdr_offset'); 47 48 } 49 50 51 } 52 startPos = currentPos; 53}); 54 55}); 56 57 58 59 setTimeout(function(){ 60 $('.effectSet').each(function() { 61 var thisEffect =$(this); 62 thisEffect.waypoint(function(){ 63 thisEffect.addClass('animated'); 64 },{ 65 offset : '70%' 66 }); 67 }); 68 },500); 69 70 setTimeout(function(){ 71 $('.effectFadeIn').addClass('animated'); 72 },200);
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.