Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fader = function(el){
- el.live('mouseenter',function(){
- var passive = $(this).attr('data-passive');
- $(this).find("."+passive).stop().animate({
- opacity:0
- });
- });
- el.live('mouseleave',function(){
- var passive = $(this).attr('data-passive');
- $(this).find("."+passive).stop().animate({
- opacity:1
- });
- });
- }
Add Comment
Please, Sign In to add comment