Socket
Book a DemoInstallSign in
Socket

simplyscroll-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplyscroll-rails

1.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

SimplyScroll Rails Gem

For ruby ~> 1.9.3

Installation

Add this line to your application's Gemfile:

    gem 'simplyscroll-rails'

And then execute:

    $ bundle install

Usage

SimplyScroll is dependant on jQuery, so make sure you have it in your Gemfile.

    //= require jquery

Add to your app/assets/javascripts/application.js

    //= require jquery.simplyscroll

Or for the minified version

    //= require jquery.simplyscroll-min

And to your app/assets/stylesheets/application.css.sass or application.css.scss

    @import simplyscroll

Or application.css:

    *= require simplyscroll

Example

You don't need any special markup. All you need is to wrap your uls inside the container element. ID "scroller" is mandatory to apply proper styles that come from simplyscroll.css file.

<ul id="scroller">
   <li><img src="image1.jpg"></li>
   <li><img src="image2.jpg"></li>
   <li><img src="image3.jpg"></li>
   ...
</ul>

<script type="text/javascript">
  $(document).ready(function() {
    $("#scroller").simplyScroll();
  });
</script>

Documentation

Usage documentation as well as demos can be found at:

http://logicbox.net/jquery/simplyscroll/

https://github.com/logicbox/jquery-simplyscroll

FAQs

Package last updated on 03 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.