
jRails is a drop-in jQuery replacement for Prototype/script.aculo.us on Rails.
By:http://ennerchi.com/projects/jrails
Download:Click here
DEMO
jRails is a drop-in jQuery replacement for Prototype/script.aculo.us on Rails. Using jRails, you can get all of the same default Rails helpers for javascript functionality using the lighter jQuery library.
Visual Effects
The visual effects in jRails are based on the new jquery-fx library. jRails currently uses a slightly modified version of jquery fx code to get some of the desired effects. This code is evolving and is subject to change. In the meatime, you can get a taste of the visual effects that are currently available.
How to use
Just install and go! Once installed, the previous Prototype/script.aculo.us helpers will be replaced by jQuery ones. In order for them to function correctly, just include the appropriate javascript files in the head of your page.
<script type="text/javascript" src="/javascripts/jquery.js"></script><br />
<script type="text/javascript" src="/javascripts/jquery-ui.js"></script><br />
<script type="text/javascript" src="/javascripts/jquery-fx.js"></script><br />
<script type="text/javascript" src="/javascripts/jrails.js"></script>
You can also use the Rails javascript_include_tag helper with :default to load them automagically.
<%= javascript_include_tag :defaults %>
Install
To install the jRails plugin:
.script/plugin install http://ennerchi.googlecode.com/svn/trunk/plugins/jrails
Then copy the javascript files in the plugin folder to your javascripts directory.

| < Prev | Next > |
|---|
- 08/02/2008 22:58 - jqModal
- 06/02/2008 01:39 - jQuery Style Switcher
- 03/01/2008 06:25 - jQuery Lightbox plugins
- 17/12/2007 22:59 - jQzoom:jQuery Plugin
- 05/12/2007 19:55 - Animated InnerFade with JQuery
- 28/11/2007 22:00 - jQuery Multimedia Portfolio
- 10/11/2007 22:05 - jquery biggerlink
- 07/11/2007 03:41 - Semitransparent rollovers made easy with JQuery
- 03/11/2007 19:52 - Confirm inplace( jQuery)
- 03/11/2007 07:51 - jQuery lightbox plugin





