I
I
it_pear_yurec2018-03-10 20:17:52
JavaScript
it_pear_yurec, 2018-03-10 20:17:52

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.
5aa4132c9657d900665925.jpeg

<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

1 answer(s)
S
SexyMonkey, 2018-03-10
@it_pear_yurec

https://alvarotrigo.com/fullPage/examples/navigati...

$('#fullpage').fullpage({				
  navigationPosition: 'right',
  navigationTooltips: ['First', 'Second', 'Third']
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question