madmatter23
01-22-2009, 01:13 AM
Hello,
I'm trying to accomplish a simple jQuery functions I can't seem to get it to work.
In the thumb_rollover() function, I'd simply like thumb.li 's border to turn blue on rollover, and then return to grey on mouseout. I can't seem to get this to work at all.
Can anyone please offer some help? I would be much appreciated. Thank you.
function thumb_rollover(){
$(".thumb_li").hover( function(){
$(this).animate({ "borderColor" : "#1D69EF" }, 500);
}, function(){
$(this).animate({ "borderColor" : "#444444" }, 500);
});
}
Example of Script (http://www.stephenshaheen.com/portfolio.php)
I'm trying to accomplish a simple jQuery functions I can't seem to get it to work.
In the thumb_rollover() function, I'd simply like thumb.li 's border to turn blue on rollover, and then return to grey on mouseout. I can't seem to get this to work at all.
Can anyone please offer some help? I would be much appreciated. Thank you.
function thumb_rollover(){
$(".thumb_li").hover( function(){
$(this).animate({ "borderColor" : "#1D69EF" }, 500);
}, function(){
$(this).animate({ "borderColor" : "#444444" }, 500);
});
}
Example of Script (http://www.stephenshaheen.com/portfolio.php)