JQuery MB Extruder - Rails Gem
This is a Rails gem that will install the JQuery MB Extruder in your application.
JQuery MB Extruder is a JQuery plugin that will allow you to create tabbed content anywhere and is pretty awesome. It can be hardcoded content or AJAXed pages allowing you to extend views onto the same page. For example a social sidebar or a menu or whatever the heck you want your users to have without going to a separate page(Including video which there is a demo for). Also loading times are freakin excellent!
Installation
Add this line to your application's Gemfile:
gem 'jquery_mb_extruder'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install jquery_mb_extruder
Optionnally, you can create views as a demo to guide you through your own implementation:
$ rails g jquery_mb_extruder:views
The files that the views give you are demo files. You will need the parts controller. Each demo file does have inline CSS(I did not create them, they are from JQuery MB, and I don't feel like changing the IDs on each page to make an extruder.sass file for a demo). If you use this, do yourself a favor and put them in an external css/sass file.
Usage
mb.extruder.readme
An open source jQuery component to easily build a top or left sliding panel.
jquery.mb.components, another way of thinking the web
CSS
Add this line at the end of your application.css
*= require jquery_mb_extruder.all
Javascript
You will need to add global jquery_mb_extruder object in your application.js:
//= require jquery_mb_extruder.all
Thanks
Thanks to the makers of mb.extruder!
Scy0846
If you like this...
I am considering making more gems of JQuery MBs work. They are all excellent plugins.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request