Difference between revisions of "Team:IIT Delhi/try"
Line 798: | Line 798: | ||
var $span = $this.children('span'); | var $span = $this.children('span'); | ||
$span.data('width',$span.width()); | $span.data('width',$span.width()); | ||
− | + | $this.hover(function(){ | |
+ | $this.css("width":"100%"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $this.css("width":"30%"); | ||
+ | }); | ||
$this.bind('mouseenter',function(){ | $this.bind('mouseenter',function(){ | ||
− | + | $menu.find('.ldd_submenu').stop(true,true).hide(); | |
$span.stop().animate({},200,function(){ | $span.stop().animate({},200,function(){ | ||
$this.find('.ldd_submenu').slideDown(400); | $this.find('.ldd_submenu').slideDown(400); | ||
}); | }); | ||
}).bind('mouseleave',function(){ | }).bind('mouseleave',function(){ | ||
− | + | ||
/**$this.find('.ldd_submenu').stop(true,true).hide(); */ | /**$this.find('.ldd_submenu').stop(true,true).hide(); */ | ||
$span.stop().animate({},300); | $span.stop().animate({},300); |
Revision as of 19:01, 18 September 2015
Parts Submitted |
Criteria Fulfilled
|
Acknowledgement
A few months back, it was a dream. Today, it’s a reality. The transition didn't come by our efforts alone. There are people who didn’t hesitate to spend their valuable time on us. And we certainly do owe a lot to them.
|