arvgta / ajaxify

Ajaxify - An Ajax Plugin
https://4nf.org/
275 stars 124 forks source link

Highlight active link #39

Closed arvgta closed 9 years ago

arvgta commented 9 years ago

In preparation of #36 this enhancement can be done standalone, first:

Example site


More research: @stackoverflow

It is probably necessary to add a custom class via addClass and to add it in a style sheet (as it seems impossible to add :hover programmatically)

Obviously, removeClass has to be called on the old element, too...

I will call the class jqhover as suggested in the above link.

arvgta commented 9 years ago

Implemented successfully