This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 1a7a953e590ff5c678e97f3b3e4f263d01eb1380
tree 2a1cfee5609ec65da26c8d4792915b7c4edfe14e
parent bafbd142320b9c4628031222d1be6ede4c5692de
tree 2a1cfee5609ec65da26c8d4792915b7c4edfe14e
parent bafbd142320b9c4628031222d1be6ede4c5692de
| name | age | message | |
|---|---|---|---|
| |
README | Sat Oct 11 14:22:56 -0700 2008 | |
| |
Rakefile | ||
| |
about.yml | ||
| |
assets/ | Tue Jul 22 00:58:44 -0700 2008 | |
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | Tue Jul 22 00:58:44 -0700 2008 | |
| |
tasks/ | Tue Apr 15 03:46:21 -0700 2008 | |
| |
test/ | ||
| |
uninstall.rb |
= Mootools On Rails
== How to install
Just follow these three steps :
1. You must run the following task :
rake mootools_on_rails:install
2. You must add the following line in your layout :
<%= javascript_include_tag :mootools %>
3. You must add the following line in your RAILS_ROOT/config/routes.rb
ActionController::Routing::Routes.draw do |map|
...
MootoolsOnRails.routes
...
end
That's all !
== How to use
=== Event behaviour
In your view :
<% add_event('link', 'click') do |page|
page.alert('coucou div 2')
end %>
<%= content_tag(:a, "My Link", :id => 'link') %>
== More documentations
http://dev.kawooa.org/projects/mootools-on-rails/wiki/Mootools+On+Rails
== Contributors
Thank you to them :
- Grzegorz Kazulak
== Credits
* This plugin is inspired by the "YUI On Rails" plugin by "PJ Hyett".
* The unobtrusive_javascript plugin is by Luke Redpath (http://www.lukeredpath.co.uk) and Dan Webb
(http://www.vivabit.com/bollocks).











