Template:Team:HokkaidoU Japan/LargeDropDown/JS

From 2014.igem.org

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

Revision as of 16:54, 5 October 2014