Topic: Conditional RJS code
I have the following code:
<%= link_to_function "Test" do |page|
What I want, is that the edit_area div only slides if it's not already visible.
How can I accomplish that?
I've tried something along the lines of:
but it doesn't work. Any hints?