[jQuery] .hover(function(){removeClass('rounded {top}')});
Not sure why this doesn't work to remove the rounded corners on hover-
out. The corners are set on the first hover, but they aren't turning
off. Any ideas?
function docorners(){
//alert('doing corners');
$('.rounded ').corners();
}
$(document).ready(function(){
$('#navlist li a').hover(
function(){
$(this).addClass('rounded {top}');
docorners();
},
function(){
$(this).removeClass('rounded {top}');;
docorners();
}
);
});