Created
March 23, 2009 22:18
-
-
Save laktek/83818 to your computer and use it in GitHub Desktop.
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
link_to_function("Show me more", nil, :id => "more_link") do |page| | |
page[:details].visual_effect :toggle_blind | |
page[:more_link].replace_html "Show me less" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment