Fullpage.js Прокручивает один и тот же слайд, в чем может быть проблема?

У меня есть два слайда почти что одинаковые (пока что) но вот только при прокручивание слайд не меняется как по идеи должен прокручивается слайд по html коду выше. Уже 3 часа с этим пытаюсь разобрать может у кого ни будь это уже было?
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>тренировка</title>
    <link rel="icon" href="C:/icon/249187.png">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.css">
    <link rel="stylesheet" href="style.css">
    
    
</head>
<body>
    <div id="fullPage">
    <div class="section" >
        <div class="overlow">
    <div class="media-div">   
    <video class="medio" src="Push-Ups - 39475.mp4" autoplay muted loop></video>
</div>
<div class="content">
    <div class="content-body">
        <div class="container">
            
            <h1 class="title_one">Тренировки</h1>
     <div class="div_one">      
    <ul>
        Понедельник
   <li><a href="str/triceps.html" class="triceps">трyцепс</a></li> 
   <li><a href="str/grudi.html" class="grudi">грудь</a></li>
    </ul>
</div>
<div class="div_two">
    <ul>
        Среда
        <li><a href="str/plech.html" class="plechi">плечи</a></li>
        <li><a href="str/nogi.html" class="nogi">ноги</a></li>
    </ul>
</div>
<div class="div_three" >
    <ul>
        Пятница
        <li><a href="str/biceps.html" class="biceps">бицепс</a></li>
        <li><a href="str/spina.html" class="spina">спина</a></li>
    </ul>
</div> 
</div>
</div>
</div>
</div>
</div>
<div class="section" >
    <div class="overlow">
        <div class="media-div">   
        <video class="medio" src="Push-Ups - 39475.mp4" autoplay muted loop></video>
    </div>
    <div class="content">
        <div class="content-body">
            <div class="container">
                
                <h1 class="title_one">Тренировки</h1>
                <div class="div_one">      
                    <ul>
                      Еда  
                   <li><a href="str/triceps.html" class="triceps">трицепс</a></li> 
                   <li><a href="str/grudi.html" class="grudi">грудь</a></li>
                    </ul>
                </div>
                <div class="div_two">
                    <ul>
                        Среда
                        <li><a href="str/plech.html" class="plechi">плечи</a></li>
                        <li><a href="str/nogi.html" class="nogi">ноги</a></li>
                    </ul>
                </div>
                <div class="div_three" >
                    <ul>
                        Пятница
                        <li><a href="str/biceps.html" class="biceps">бицепс</a></li>
                        <li><a href="str/spina.html" class="spina">спина</a></li>
                    </ul>
    </div>     
    </div> 
    </div>
    </div>
    </div>  
    </div>
    </div>


    
 <script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.min.js"></script> 
 <script src="script.js"></script>

 
</body>
</html>

new fullpage('#fullpage', {
	
	autoScrolling:true,
	scrollHorizontally: true
});

@font-face {
    font-family: sans-srf;
    src: url(C:/icon/AmericanRetro.ttf);
}

body{
    margin:0;
    font-family: 'sans-srf',  monospace;
    
}

.medio{     
    width: 100%;
    height: auto;
    position: absolute;   
    top:0;
    left: 0;
    

}
.media-div{
    position: relative;
  padding-bottom: 56.25%;   
  z-index: 1;
}
.overlow{   
    max-height:100vh;
    overflow: hidden;
    position: relative;
}
.overlow:after{
    content: "";
    display: block;
    position:absolute;
    top:0;
    left: 0;
    z-index: 2;
    background-color: rgb(0, 0, 0,0.9);
    width:100%;
    height:100%;
}

.content{
    width: 100%;
     height: 100%;
      position: fixed;
       top: 0;
        left: 0;
         display: flex;
          align-items: center;
           align-content: center;
            justify-content: center;
             overflow: auto; 
  z-index: 3;

}
.content-body{ 
margin: 0;
color:white; 
text-align: center;
width: 1200px;
height: 100vh;
background-color:#000000;

    
   
}

.container{
    width: 100%;
    position: relative;
    max-width: 1200px;
    margin:0 auto;
    font-family: 'sans-srf',  monospace;
    font-size: 20px;
}
.title_one{
    font-size: 60px;
}

.div_three,.div_one,.div_two{      
    float: left; 
    margin: 0 15px 15px 0; 
   padding: 70px;
font-size: 50px;
vertical-align: middle;
line-height: 150px;
}
ul,a{
    
    list-style-type: none;
    color: white;
    text-shadow: none;
        cursor: pointer;
        text-decoration: none   ;
        margin-bottom: 40px;
    
}
ul{
    cursor: default;
}
.biceps:before{
    content:url(image/biceps.png);
   padding-right: 5px;
    
}
.spina:before{
    content:url(image/Spina.png);
    padding-right: 5px;
}
.plechi:before{
    content:url(image/biceps.png);
    padding-right: 5px;
}
.nogi:before{
    content:url(image/nogi.png);
    padding-right: 5px;
}
.grudi:before{
    content:url(image/grudi.png);
    padding-right: 5px;
}
.triceps:before{
    content:url(image/biceps.png);
    padding-right: 5px;
}
.back_button{
    margin-left: 30px;
    left: 0;
    position: absolute;
    border: none;
    background-color: #fff;
    width: 100px;
    height: 30px;
    cursor: pointer;
    font-size: 24.5px;
    font-family: 'sans-sirf',  monospace;
    float: left;
}
.back_button:focus{
    background-color: #000;
    color: white;
}
.back_button:hover{
    box-shadow: 0 0 0 4px #323233;
}
  • Вопрос задан
  • 32 просмотра
Пригласить эксперта
Ответы на вопрос 1
kryamk
@kryamk
Исправить в html айдишник fullPage, ибо в js fullpage
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы