Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

overlib-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overlib-rails

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Overlib

overLIB javascript popup for rails asset pipeline. If you just want the overlib.js then see the related project

It should work on Rails 3.1.x and Rails 3.2.x. I still need to test it out in Rails 4.

Installation

Add this line to your application's Gemfile:

gem 'overlib-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install overlib-rails

Usage

For now this just makes the overlib js available. You will need to hook into it using something like:

//=require overlib
//=require_self

$(function(){
  $(document).on("mouseover",".popup,.help-question",function(event) {
    return overlib($(this).data().help, WIDTH, 300);
  });
  $(document).on("mouseout",".popup,.help-question",function(event) {
    return nd();
  });
});

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Issues and Problems

For problems with overlib.js please report them in the overlib project Otherwise make an issue or pull request here.

FAQs

Package last updated on 18 Dec 2013

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc