View Single Post
Old 03-09-2013, 04:43 PM   PM User | #2
bolo77
New Coder

 
Join Date: Dec 2011
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
bolo77 is an unknown quantity at this point
could something like below work?
Code:
 $('#'+ divID).mouseenter(function(){
        
        $(".square.one").filter(':not(:animated)').animate({width:"+=10px"},200);
        //do something
    }).mouseleave(function(){
    	$(".square.one").stop(true) //removes animation in the queue
    	$(".square.one").filter(':not(:animated)').animate({width:"-=10px"},200);

           // do something
        });
bolo77 is offline   Reply With Quote