forked from pointcom/mootools-on-rails
-
Notifications
You must be signed in to change notification settings - Fork 1
mootools-on-rails with Autocompleter from http://digitarald.de/project/autocompleter/
lawrencecurtis/mootools-on-rails
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= Mootools On Rails with Autocompleter == 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 == 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).
About
mootools-on-rails with Autocompleter from http://digitarald.de/project/autocompleter/
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%