Add a jquery fadein to this
Add a jquery fadein to this
Out of context: Reply #1
- Started
- Last post
- 3 Responses
- WhiteFace0
I'm no jQuery expert but i used this for fading in a div on rollover...
<script>
$(".mouseover").mouseover(functi... {
$(this).find(".fader").animate({
opacity: 1
}, 250, function() {
// Animation complete.
});}).mouseout(function(){
$(this).find(".fader").animate({
opacity: 0
}, 250, function() {
// Animation complete.
});
});</script>
make sure you set opacity to 0 in your style sheet