Created
November 5, 2009 15:23
-
-
Save plukevdh/227117 to your computer and use it in GitHub Desktop.
cool way to display flash messages with rjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
page.visual_effect :appear, :flash_notice | |
page.delay(10.0) do | |
page.visual_effect :fade, :flash_notice | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment