Soft mouseover effect
Soft mouseover effect
Hi,
I want to create a soft mouseover css effect, which changes the color of a Link. But I don't now which fuction to use!
I tried this:
- function mover(obj){
if(!obj.length)return;
$("a").mouseover(function(){
$(this).animate({color:"#fff"},300);
});
}
and this:
- function mover(obj){
if(!obj.length)return;
$("a").mouseover(function(){
$(this).css("color", "#FFF").fadeIn("slow");
});
}
The first one doesn't work and the second one is as hard as css would produce it. So what is the correct function?
Sorry for my bad english I'm not a native speaker :)
greetz
syscon