Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (21 sloc) 1.17 KB

Loading Notice

Loading Notice is a plugin, built on Prototype, which shows an indictor when a slow AJAX is under process automatically. Basically, it's like the "Loading" div appears in gmail when busy. When scrolling or resizing the window, it will still keep showing on the top of the page.


Install the plugin:

$ ruby script/plugin install git://
$ rake loading_notice:install

Include the library into your project:

<%= javascript_include_tag :defaults, 'loading_notice' %>
<%= stylesheet_link_tag 'loading_notice' %>


Use the loading-notice-demo template (for Rails >= 2.3) to generate a simple but fully functional proof-of-concept demo of the loading_notice plugin:

$ rails loading-notice-demo -m
$ ruby script/server


Minor enhancements by Thomas Duerr.

Original Plugin written by Shaokun Wu. Mail to shaokun at for bug reports, feature requests or any comment.

Copyright (c) 2009 Kude Labs, released under the MIT license