1 posts in total

Helpers

Posts tagged

Highlighting current link within a navigation list in rails

1 min read

It's very common to want to highlight the current link within a navigation list for the current action being performed. If you are using Ajax, then this is easy, handle the onclick event to highlight the current link. Make sure you have a CSS class called youarehere. The followi ...