0.0
No commit activity in last 3 years
No release in over 3 years
overLIB JavaScript popup library for the asset pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

< 4.1, >= 3.1
 Project Readme

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, Rails 3.2.x and Rails 4.0.x

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.