HEX
Server: Apache
System: Linux s325.xrea.com 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: yunportfolio (12972)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /virtual/yunportfolio/public_html/yunportfolio.shop/lueur/.history/js/script_20250801004121.js
// console.log("コンソール");
$(document).ready(function(){
  $('.slider').slick({
    autoplay: true,
	dots: true,
  dotsClass: 'dots-wrap',
	arrows: true,
	variableWidth: true, //左右のスライドを見せるために必要
	centerMode: true, //スライドを中心に寄せる
	slidesToShow: 3,//スライドの見える枚数に合わせて入れると良い
  prevArrow: '<div class="slick-prev"><img src="./img/chevron-left.svg" alt="prev"></div>',
  nextArrow: '<div class="slick-next"><img src="./img/chevron-right.svg" alt="next"></div>',
  });

  $('.multiple-select').multipleSelect({
        width: 200,
        placeholder: "選択してください",
        formatSelectAll: function() {
            return 'すべて';
        },
        formatAllSelected: function() {
            return '全て選択されています';
        }
   });
   
  $(window).scroll(function(){
    let scrollTop = $(window).scrollTop()
    let windowHeight = $(window).height();

    $(".js-fade").each( function(index){
      let boxPosition = $(this).offset().top;
      if(scrollTop + windowHeight > boxPosition){
        $(this).addClass("is-active");
      }
    });
    




   });




});