Irrelon/jquery-lang-js

Set Class in CSS

Closed this issue · 1 comments

Hi Guys,
First of all, this is not a bug. Just a question.
For Example i have two a tags. One German one English.
If the language English is the current i want set a class active.

<a href='#' class='myBtn active'>English</a> | <a href='#' class='myBtn'>German</a>

Any Idea?

I think you should be able to hook the change event from the plugin to set the css class via jQuery when the language switches.