Template:Team:HokkaidoU Japan/LargeDropDown/JS

From 2014.igem.org

(Difference between revisions)
Line 6: Line 6:
                     var $child  = $menu.children(".menu_button");
                     var $child  = $menu.children(".menu_button");
                     var $num = $child.index($child);
                     var $num = $child.index($child);
-
                     $child.eq(2).find('.ldd_submenu').css("width","440px");
+
                     $num.eq(2).find('.ldd_submenu').css("width","440px");
-
                     $child.eq(3).find('.ldd_submenu').css("width","160px");
+
                     $num.eq(3).find('.ldd_submenu').css("width","160px");
                     $child.hover(function() {  
                     $child.hover(function() {  

Revision as of 12:37, 6 October 2014