This should be really simple!!!!
HI.
I have a rollover. I want the same action to be applied on click().
So when you hover over the link the state changes and when you click the state changes. Simple!!
However, i have tried various ways of doing this yet it never seems to work.
My current code is...
-
$(document).ready(function()
{
$("#tabs a").hover(function(){
$("#tabs a").css({color:'#6699CA'});
$(this).css({color:'white'})},
function(){
$("#tabs a").css({color:'white'});});
});
How do i edit this code to include on click()???
You help would be greatly appreciated.