I have 4 links that change the position of 4 divs inside a web page. I am using the following jQuery script to change the color of the links when I hover them.
$('a.menua').hover(function(){
$(this).css({'color':'#2EC7C7'});
},
function(){
$(this).css({'color':'white'});
});
how can i modify this script so that when i click a link it keeps the color from hover and not change when i take my mouse off of it?
$('a.menua').click(function(){
//content
});