I've got:
<%= javascript_include_tag :defaults %>
in my layout.
In the first case I have a form with button_tag:
radio_button('subject', 'valid_number_T', 'T', 'id'=> 'valid_number_T', 'onclick' => "Effect.SlideDown('call-details')") radio_button('subject', 'valid_number_F', 'F', 'id'=> 'valid_number_F', 'onclick' => "Effect.SlideUp('call-details')")
In the second case, non-form field is used with link_to_remote:
link_to_remote "+", :visual_effect => :toggle_blind
No javascript errors are thrown, the source looks sound, tested on both Firefox 2.0 and Safari, but the effects are not fully working.
In both cases, the div in question is hidden or shown. But the effects only work some of the time or not at all. I've tried using visual_effect method, putting them in the onclick option of the tag and so on.
Are the libraries considered beta'sh or more for example then function or am I fudging the works up somewhere?