Advertisement
Guest User

Fluid 960gs - jQuery Excerpt

a guest
Sep 16th, 2011
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Kwicks : function(){
  2.     var animating = false;
  3.     $("#kwick .kwick")
  4.         .bind("mouseenter", function(e) {
  5.             if (animating) return false;
  6.             animating == true;
  7.             $("#kwick .kwick").not(this).stop().animate({ "width": 125 }, 200);
  8.             $(this).stop().animate({ "width": 485 }, 200, function() {
  9.                 animating = false;
  10.             });
  11.         });
  12.     $("#kwick").bind("mouseleave", function(e) {
  13.         $(".kwick", this).stop().animate({ "width": 215 }, 200);
  14.     });
  15. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement