Difference between revisions of "Team:IIT Delhi/try"
Line 243: | Line 243: | ||
position:fixed; | position:fixed; | ||
− | + | margin-left:87%; | |
− | + | width:20%; | |
z-index: 9999; | z-index: 9999; | ||
height:23%; | height:23%; | ||
− | |||
− | |||
− | |||
} | } | ||
Line 799: | Line 796: | ||
$menu.children('li').each(function(){ | $menu.children('li').each(function(){ | ||
var $this = $(this); | var $this = $(this); | ||
− | + | var $span = $this.children('span'); | |
$span.data('width',$span.width()); | $span.data('width',$span.width()); | ||
$this.bind('mouseenter',function(){ | $this.bind('mouseenter',function(){ | ||
− | + | $this.css("width":"100%"); | |
+ | $this.css("margin-left":"0%"); | ||
+ | $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.css("width":"20%"); | ||
+ | $this.css("margin-left":"87%"); | ||
/**$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 18:51, 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.
|