Displaying 6 results from an estimated 6 matches for "toggle_appear".
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been
able to call it the way you call "appear", "fade", etc...
Jeff
--
Posted via http://www.ruby-forum.com/.
2006 Jun 26
1
RJS visual_effect toggle?
Is there a way to toggle an effect in an RJS? If not, anyone have
recommendations for how to manually make it toggle? I guess I would
assume some boolean that the rjs checks everytime it''s called and
depending on whether it''s true or false it will do page.visual_effect
:appear or page.visual_effect :hide
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 May 28
0
expanding details examples?
I''m currently using page.visual_effect :toggle_appear to toggle the
appearance of details associated with an order. As I am inserting
the detail data prior to making it visible, this method is not
appropriate (it also loads the data on hide).
I was thinking I could change the hide/show href each time it is
clicked, or even store a value on t...
2006 May 23
5
text_field_with_auto_complete
I am having some trouble using `text_field_with_auto_complete'' in
Firefox. For some reason, the drop-down list is being rendered
behind other table elements.
Firefox (broken): http://schema.ca/broke.png
Safari: http://schema.ca/safari_works.png
I''m wondering if anyone is aware of this problem, and what I might be
able to do to work around it?
Thanks,
-Mike
2006 Jun 04
3
Ajax table does not update
...lt;/div>
</tr>
</table>
(child_controller
def show_days
@child = Child.find(params[:id])
@days = @child.days
end
(child.chow_days.rjs)
page.replace_html ''show_days'', :partial => ''days'', :collection => @days
page.visual_effect :toggle_appear, ''show_days'', ''duration'' => 0.5
(_days.rhtml)
<% for day in @days -%>
<td><%=h day.startdate %></td>
<td><%=h day.enddate %></td>
<% end -%>
The problem is, in Firefox I get a new page with the following te...
2006 Jul 27
3
How do I update a div''s content in the controller?
Without using an RJS, is there a call I can do in the controller? All I
want to do is this statement, but in the controller:
new Effect.toggle(''notifier_nav'',''appear'', {duration:12.0});
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.