One Page Horizontal Scroll On Mouse Scrolling jQuery Plugin – jQuery horizonScroll.js

Layout
horizonscrolljs-jquery-plugin-for-horizontal-scrolling-websites
File Size: 7.3 KB
Views Total: 2478 views
Last Update:September 28, 2022
Publish Date: August 14, 2013
Official Website: Go to website
License: MIT
Plugin Author:
Demo    Download

A Free jQuery plugin Full Page Horizontal Scroll On Mouse Scrolling with jQuery horizonScroll..js which allows for websites to page(scroll by set width) left and right horizontally move on mouse scroll. Horizontal scroll sites offer a new and unique way to develop sites.

Other Demo 2 : Click

How to use :

 Add jQuery library and horizonScroll.js in your project.

<script src="/jquery.min.js"></script>
<script src="jquery.horizonScroll.js"></script>

Load the jQuery touchSwipe plugin for touch swipe / mouse drag support.

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.touchswipe/1.6.4/jquery.touchSwipe.min.js"></script>

Create next/prev navigation on your web page.

<div class="horizon-prev"><img src="images/l-arrow.png"></div>
<div class="horizon-next"><img src="images/r-arrow.png"></div>

 Create section content for your website.

<section data-role="section" id="section-section1"></section>
<section data-role="section" id="section-section2"></section>
<section data-role="section" id="section-section3"></section>
<section data-role="section" id="section-section4"></section>

Add Code for Initialize the plugin with default options.

$('section').horizon();

Default plugin options.

$('section').horizon({

scrollTimeout: null,
scrollEndDelay: 250,
scrollDuration: 400,
i: 0,
limit: 0,
docWidth: 0,
sections: null,
swipe: true,
fnCallback: function (i) {
}

});
Thanks for make jQuery plugin is developed by For more Helpfull for users, please check the demo page or visit the official website.
List Of Version :

Mady

Mady Schaferhoff is an expert jQuery script at jQuerypost. He offers web development services to clients globally. He also loves sharing Html,CSS, jQuery knowledge through blog posts like this one.