How to create divided multi-scrolling pages using jQuery Plugins

How to create divided multi-scrolling pages using jQuery Plugins

jQuery has poweful plugin to create divided multi scrolling by using multiscroll.js. Here i am going to define how to use it and how to scroll panels vertically.

You need jquery, multiscroll library.

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>jQuery Multiscroll.js</title>
  8. <link href="http://demo.expertphp.in/css/bootstrap.css" rel="stylesheet">
  9. <link href="http://demo.expertphp.in/css/jquery.multiscroll.css" rel="stylesheet">
  10. <script src="http://demo.expertphp.in/js/jquery.js"></script>
  11. <script src="http://demo.expertphp.in/js/jquery-ui.min.js"></script>
  12. <script src="http://demo.expertphp.in/js/jquery.multiscroll.js"></script>
  13. </head>
  14. <body style="background: #e1e1e1;">
  15. <ul id = "expertmenu">
  16. <li data-menuanchor = "firstSlide"><a href = "#firstSlide">First slide</a></li>
  17. <li data-menuanchor = "secondSlide"><a href = "#secondSlide">Second slide</a></li>
  18. <li data-menuanchor = "thirdSlide"><a href = "#thirdSlide">Third slide</a></li>
  19. </ul>
  20. <div id = "myContainer">
  21. <div class = "ms-left">        
  22. <div class = "ms-section">
  23. <h1>Left 1</h1>
  24. </div>
  25. <div class = "ms-section">
  26. <h1>Left 2 </h1>
  27. </div>
  28. <div class = "ms-section">
  29. <h1>Left 3</h1>
  30. </div>                
  31. </div>
  32. <div class = "ms-right">            
  33. <div class = "ms-section">
  34. <h1>Right 1</h1>
  35. </div>
  36. <div class = "ms-section">
  37. <h1>Right 2</h1>
  38. </div>
  39. <div class = "ms-section">
  40. <h1>Right 3</h1>
  41. </div>                
  42. </div>            
  43. </div>
  44. <script type = "text/javascript">
  45. $(document).ready(function() {
  46. $('#myContainer').multiscroll({
  47. sectionsColor: ['#1bbc9b', '#5B6873', '#447198'],
  48. anchors: ['firstSlide', 'secondSlide', 'thirdSlide'],
  49. menu: '#expertmenu',
  50. navigation: true,
  51. navigationTooltips: ['1', '2', '3'],
  52. loopBottom: true,
  53. loopTop: true
  54. });
  55. });
  56. </script>
  57. </body>
  58. </html>
Now you can use this plugins to create divided multi scrolling by using multiscroll.js.

Click here to see demo :

Phone: (+91) 8800417876
Noida, 201301
Betwinner
pendik escort
kartal escort