Forum: Ruby on Rails Visited Link Style and link_to_remote

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tony J. (Guest)
on 2006-02-24 09:40
link_to_remote set the link element to <a href="#">...
which means the link items sharing same location "#", so if there are
multiple
link items in one page, as far as one of them is clicked, all the others
will
change the status to "click".

Now I am solving this problem by not using <a> tag (which means directly
using
javascript, not the link_to_remote helper) and custom define the class
for mouseover, mouseout, clicked and unclicked.

Is there any better approaches?

-Tony
This topic is locked and can not be replied to.