javascript - horizontal smooth scrolling between div id's -


can please write me javascript smooth scroll horizontally between #id's have ? have looked , previous questions have been answered , copied/pasted answers dont seem work.

here relevant html -

    <div class = option1> <a href="#point1">       <i class="fa fa-arrow-circle-right" aria-hidden="true"></i></a>     </div>     <div class = page2>        <div class='land7'>           <img src='images/land7.png'>      </div>         <div class="option2">            <a href="#point2">              <i class="fa fa-arrow-circle-left" aria-hidden="true"></i>            </a>        </div>      <div class='option3'>       <a href="#point3">         <i class="fa fa-arrow-circle-right" aria-hidden="true"></i>       </a>    </div>     <div id = point1> </div>       <div id='point4'> </div>    </div>       <div class="page3">          <div class='land8'>              <img src='images/land8.png'>      </div>         <div class='option4'>            <a href="#point4">              <i class="fa fa-arrow-circle-left" aria-hidden="true"></i>                </a>          <div id='point3'> </div>        </div> 


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -