RJS visual effect

Hello,

How do i create a highlighting visual effect using rjs. Actually I have
to highlight the list which I am displaying by clicking an image.

show.rhtml

<%= link_to_remote(image_tag("/images/pictures/" “.jpeg”,
:size=>“90x100”),
:url => {:action =>‘imag1’},
:update => ‘one’%>

When I click this image link it should highlight the contents it is
displaying.

I have made use of an adb.rjs and placed the code

" page[:one].visual_effect :highlight, :duration =>10 "

Cache22 wrote:

… and then what happens…

On Sep 6, 11:41 pm, Advait B. [email protected]

Advait

I didn’t understand when you say " and then what happens ", What more
is required else should I attach my source code.

Thank You

… and then what happens…

On Sep 6, 11:41 pm, Advait B. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs