Displaying 1 result from an estimated 1 matches for "add_iyc_link".
Did you mean:
add_iyc_rlink
2006 May 30
4
Hide parent element
I have some code that calls a partial to display one or more blocks
within a div tag. I want to have a close button (or cancel link) that
will fade that block but leave the others. Here is the code:
LINK:
<%= link_to_remote "Add Miscellaneous Link", :url => { :action =>
:add_iyc_link } %>
add_iyc_link.rjs:
page.insert_html :bottom, ''links'', :partial => ''add_iyc_link''
page.visual_effect :highlight, ''links''
_add_iyc_link.rhtml:
<p class="iyclink" id="iyclink">
<%= image_tag "cancel...