/ Published in: Ruby
The key here is display:none being in the style attribute of the affected div. It will not work if it's in a separate CSS file.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<%= link_to_remote 'Privacy Policy', { :update => 'privacy-policy', :complete => visual_effect(:toggle_blind, 'privacy-policy'), :url => { :action => 'privacy_policy' } }, { :class => 'text-link' } %> <div style="display:none" id="privacy-policy"></div>