Displaying 3 results from an estimated 3 matches for "product_hov".
Did you mean:
product_hover
2006 Jan 06
3
image replacement (new Effect.*****) problem
...re out how to link the large image inside
of the samll image tag. Thanks again for any help!
<%= image_tag url_for_file_column(product, "image_url"),
{ "class" => "small_product",
"onMouseOver" => "this.className = ''product_hover''",
"onMouseOut" => "this.className = ''small_product''",
"onClick" => "new Effect.Shake(this);
new Effect.Fade(''large_image'');
document.getElementById(''large_image'...
2006 Mar 02
7
Timing of effects before and after Ajax call
Hello,
I have a problem with the timing of effects. I do have a tag (with id:
post1). When the link is clicked, the block "post1" must BlindUp. Then the
block is updated with the new content and then the effect BlindDown is
executed.
Below is the source code of the link_to_remote I am using.
<%= link_to_remote("Ajax Edit",
:update =>
2006 Jan 08
0
link_to_remote(image_url url_for_file_column(product, "image
...the error:wrong number of arguments (3 for 2)
<%= link_to_remote(image_tag url_for_file_column(product, "image_url"),
{ "class" => "small_product",
"onMouseOver" => "this.className =
''product_hover''",
"onMouseOut" => "this.className =
''small_product''"},
:complete => "eval(request.responseText)",
:url => { :action => :update_form }) %>
If I...