Skip to content
A basic JQuery plugin to scroll fullpage horizontally
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
css
dist
src
.gitignore
CHANGELOG.md
LICENSE
README.md

README.md

scrollHor

Description

A jQuery plugin to scroll full page divs horizontally.

Installation

Download the repository.

Usage

Load The Plugin

Use <script src="dist/jquery.scrollHor.js"></script> to load the plugin. REMEMBER: You have to load jQuery and jquery-mousewheel to use it.

And use <link href="css/scrollHor.css" rel="stylesheet" type="text/css"> to load the style inside your HTML page.

WARNING You have to load the css file to use this plugin.

Basic Usage

You can just call the function without any options.

$(document).ready(function() {
    $('#object').scrollHor();
});

Default speed

You can change the speed of the scrolling. This is the default speed.

$(document).ready(function() {
    $('#object').scrollHor(500);
});

You can’t perform that action at this time.