Answer the question
In order to leave comments, you need to log in
How to make the same menu items if you use the fullPage.js library?
It is not possible to make the same navigation items, the $(window).scroll() event
also does not work.
<div class="navbar">
<a class="navbar__a" href="#slide-1"></a>
<a class="navbar__a" href="#slide-2"></a>
<a class="navbar__a" href="#slide-3"></a>
<a class="navbar__a" href="#slide-"></a>
<a class="navbar__a" href="#slide-"></a>
<a class="navbar__a" href="#slide-"></a>
<a class="navbar__a" href="#slide-"></a>
<a class="navbar__a" href="#slide-"></a>
</div>
<!--/// navigation ///-->
<div id="fullpage">
<!--/// главное меню ///-->
<section class="section menu" data-anchor="slide-1">
</section>
<!--/// главная страница ///-->
<section class="section general" data-anchor="slide-2">
</section>
<!--/// о нардах ///-->
<section class="section section-background__white about-nards" data-anchor="slide-3">
</section>
<!--/// почему мы ///-->
<section class="section" id="why-me" data-anchor="">
</section>
<!--/// купить ///-->
<section class="section section-background__white" id="buy" data-anchor="">
</section>
<!--/// как получить ///-->
<section class="section" id="get" data-anchor="">
</section>
<!--/// нарды на заказ ///-->
<section class="section section-background__white" id="order" data-anchor="">
</section>
<!--/// о нас ///-->
<section class="section" id="about" data-anchor="">
</section>
</div>
Answer the question
In order to leave comments, you need to log in
https://alvarotrigo.com/fullPage/examples/navigati...
$('#fullpage').fullpage({
navigationPosition: 'right',
navigationTooltips: ['First', 'Second', 'Third']
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question