Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Integrate jquery-mousewheel with the rails asset pipeline.

branch: master
README.md

JqueryMousewheelRails

A ruby gem that uses the Rails asset pipeline to include the jQuery MouseWheel plugin by Brandon Aaron (http://brandon.aaron.sh).

Installation

Add this line to your application's Gemfile:

gem "jquery-mousewheel-rails"

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery-mousewheel-rails

NOTE: this is a jQuery plugin so you will also need the jquery-rails gem:

Usage

In your application.js you will need to add this line:

//= require jquery.mousewheel
Something went wrong with that request. Please try again.