I\'m having a bit of trouble with the jQuery css() function at the moment. It is changing the css value of the anchor element\'s border-top-color i
css()
border-top-color
This code is broken since 1.9
if($('...').is(':hover')){ $(this).css('set','your styles here') }
use this instead
var class = '...'; if($(class+':hover').length>0){ $(class).css('set','your styles here'); }