Displaying 4 results from an estimated 4 matches for "slide_up".
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
entitlement...
2006 Mar 20
1
RJS & IE Woes
...9;, ''forklift_detail'',
:rows=>5, :cols=>60 )
page.visual_effect :slide_down , ''fork_detail_div'', :duration => 0.75
page.visual_effect :highlight, ''incident_forklift_detail'', {:duration =>
1.5}
else
page.visual_effect :slide_up, ''fork_detail_div'', :duration => 0.75
page.delay (1) do
page.replace_html ''fork_detail_div'', ''''
end
I get an error in WEBRIK
[2006-03-21 00:31:08] ERROR Errno::EINVAL: Invalid argument
c:/ruby/lib/ruby/1.8/webrick/...
2006 Jun 21
2
Using RJS to highlight one LI if using insert_html on an UL?
It seems common to use RJS for quickly adding and highlighting a list
that is having content added to it like this:
http://rafb.net/paste/results/Z3m32g48.html
... where "my_list" would be an UL and the partial would insert a LI.
Given that example, is there an easy way to highlight only the newly
inserted LI instead of the whole UL? The only way I can see to do it is
to give
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