본문 바로가기
jquery

[fullpage.js] 페이지에 링크 걸기

by 바나냥 2020. 4. 6.
$("#fullpage").fullpage({
   navigation: false,
   anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'],
   animateAnchor:false
});


<a href="#4thpage">

<div id="nav">
   <ul>
       <li><a href="#firstPage" class="round">Section1</a></li>
       <li><a href="#secondPage" class="round">Section2</a></li>
       <li><a href="#3rdPage" class="round">Section3</a></li>
       <li><a href="#4thPage" class="round">Section4</a></li>
       <li><a href="#5thPage" class="round">Section5</a></li>
       <li><a href="#6thPage" class="round">Section6</a></li>
       <li><a href="#lastPage" class="round">Footer</a></li>
       <li><a href="#firstPage" class="topLink">Top</a></li>
   </ul>
</div>

댓글