Displaying 7 results from an estimated 7 matches for "slide_down".
2006 Apr 18
0
AJAX not displaying - due to action not complete?
Hi everyone,
I''ve got a pair of AJAX actions that use slide_up and slide_down to
toggle the editing of some info. You first see a table of
entitlements for a user. Clicking "Change these" slides that up and
then a full table comes down, displaying all possible entitlements for
that user. Remove and Add links are next to the appropriate
entitlements. When finish...
2006 Mar 20
1
RJS & IE Woes
Hi,
I''m trying to do a very simple slide_down effect with RJS templates.
Basically a user selects a check box and a text box slides down.
This works great in firefox, but causes IE to crash. The text box appears
and slides down. Then the browser crashes.
the in the partial is
<div id=''forklift_div''>
<label for=...
2006 Mar 13
2
How to apply an effect to a link_to_remote :update without using evaluate_remote_response?
Hey all,
I''ve been trying to apply a slide-down (or highlight) effect to a "New
card" link on my application. Because the item is *new* and I''m simply
updating it at the top, I can''t know what the div id is before I make
the request. link_to_remote :complete => visual_effect(:slidedown)
doesn''t do what I want it to do. My current solution is:
2006 Apr 21
3
rjs in multiple ajax page
...ot;><%= render :partial => ''list_results'', :collection =>
@posts %></ul>
<p><%= link_to_remote(''+'',
:url => {:action => ''new''},
:update => ''new_post'',
:loading => visual_effect(:slide_down, "new_post", :duration => 0.5))
%></p>
</div>
<div id="new_post">
</div>
This works fine and the form is rendered inside "new_post" from the
controller using render :partial => ''edit_new'', :layout => false
_edit_...
2006 Aug 18
7
Rewriting URLs - help needed
Hello -
I''m grappling with some tricky URL rewriting with Apache 2 and mod_rewrite,
and could use a hand.
Briefly:
URL for application is: www.servername.com/path/to/app/
There is no Alias directive; the application is in the directory
/www/content/path/to/app/ on the server file system.
The FastCGI dispatcher (dispatch.fcgi) lives at:
/www/fcgi-bin/path/to/app/dispatch.fcgi
Inside
2006 Apr 05
23
how to create RJS visual effects callbacks
I''m trying desperately to get visuall effects callbacks working in rjs
templates to no avail What I''m trying to do is fade an image, change
the div with the image to a new image, and then fade the new image back
in. How would I go about this in RJS Here''s a simple line from my rjs
that I can''t get to work. It is not using callbacks so the
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi
I had ajax commenting on my app, which worked perfectly on Rails
v1.2.6, but does not work the same in Rails 2.02. Basically the
comment gets added, but the visual effects do not work (ie lines 2 + 3
of create.rjs)
create.js
page.insert_html :bottom, ''comments'', :partial => ''comment''
page.visual_effect :appear, "comment_#{@comment.id}"