search for: p_image

Displaying 1 result from an estimated 1 matches for "p_image".

Did you mean: _image
2008 May 24
1
link_to_remote, image_tag, mouseover is this possible?
Hi guys, I was wondering if you are able to have a link_to_remote, having an image_tag and the link_to_remote has a mouseover event that updates a div. Does the image_tag need the mouseover event? I currently have: <%= link_to_remote(image_tag(@p_image.public_filename(:thumb)), :update => "big_pic", :onmouseover => {:action => :color_change, :id => @p_image.id})%> I get this error on loading my page: You have a nil object when you didn''t expect it! You might have expected an instance of ActiveRecord::Base. The...