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.
1843ba3c4ff9cc702bc3474223a0acc6?d=identicon&s=25 Tony Jin (tony)
on 2006-02-24 08: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.