We now have a youtube channel. Subscribe!

jQuery Multiscroll.js Plugin



Hello dear readers! Welcome back to another edition of our tutorial on jQuery. In this tutorial guide, we are going to be discussing about the jQuery Multiscroll Plugin.

The Multiscroll.js is a jQuery plugin for creating split pages with two vertical scrolling panel.

Example

The following below is a simple Multiscroll example -

<!DOCTYPE  html  lang = "en">
<html   xmlns =  "https://www.w3.org/1999/xhtml">
     <head>
          <meta  http-equiv = "Content-Type"  content = "text/html;  charset = utf-8">
          <title>Multiscroll Plugin Example</title>

          <link  type = "text/css"  rel = "stylesheet"
               href = "/jquery/src/multiscroller/jquery.multiscroll.css"  />

          <link  type = "text/css"  rel = "stylesheet"
               href = "/jquery/src/multiscroller/examples.css"  />

          <script  src = "https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"
               type = "text/javascript">
          </script>

          <script  src = "/jquery/src/multiscroller/jquery.easings.min.js"
               type = "text/javascript">
          </script>

          <script  src = "/jquery/src/multiscroller/jquery.multiscroll.js"
               type = "text/javascript">
          </script>

          <script  type = "text/javascript">
               $( document ).ready( function( )  {
                    $( '#myContainer' ).multiscroll( {
                         sectionsColor:   [ '#1bbc9b' ,   '#4BBFC3' ,   '#7BAABE' ] ,
                         anchors:  [ 'first' ,   'second' ,   'third' ] ,
                         menu:   '#menu' ,
                         navigation:   true ,
                         navigationTooltips:  [ 'One' ,    'Two' ,   'Three' ] ,
                         loopBottom:  true ,
                         loopTop:  true
                    } );
               } );
          </script>
     </head>

     <body>
          <ul  id = "menu">
               <li  data-menuanchor = "first"><a  href = "#first">First Slide</a></li>
               <li  data-menuanchor = "second"><a  href = "#second">Second Slide</a></li>             
               <li  data-menuanchor = "third"><a  href = "#third">Third Slide</a></li>
          </ul>

          <div  id = "myContainer">
               <div  class = "ms-left">

                    <div  class = "ms-section"   id = "left1">
                         <h1>Left 1</h1>
                    </div>

                    <div  class = "ms-section"   id = "left2">
                         <h1>Left 2</h1>

                    </div>

                    <div  class = "ms-section"   id = "left3">
                         <h1>Left 3</h1>

                    </div>

               </div>

               <div  class = "ms-right">

                    <div  class = "ms-section"   id = "right1">
                         <h1>Right 1</h1>
                    </div>

                    <div  class = "ms-section"   id = "right2">
                         <h1>Right 2</h1>

                    </div>

                    <div  class = "ms-section"   id = "right3">
                         <h1>Right 3</h1>

                    </div>


               </div>
          </div>
     </body>
</html>

RECOMMENDED POST: jQuery Flickerplate Plugin

Alright guys! This is where we are rounding up for this tutorial post. In our next tutorial guide, we are going to be discussing about the Slidebars.js Plugin.

Do feel free to ask your questions where necessary and i will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Follow us on our various social media platforms to stay updated with our latest tutorials. You can also subscribe to our newsletter in order to get our tutorials delivered directly to your emails.

Thanks for reading and bye for now.

Post a Comment

Hello dear readers! Please kindly try your best to make sure your comments comply with our comment policy guidelines. You can visit our comment policy page to view these guidelines which are clearly stated. Thank you.
© 2023 ‧ WebDesignTutorialz. All rights reserved. Developed by Jago Desain