Template:Team:HokkaidoU Japan/LargeDropDown/JS

From 2014.igem.org

(Difference between revisions)
Line 22: Line 22:
                     $child.hover(function() {  
                     $child.hover(function() {  
                     var $number = $child.index(this);
                     var $number = $child.index(this);
-
                     $child.eq(2).css("width","440px");
+
                     $child.eq(2).find('.ldd_submenu').css("width","440px");
-
                     $child.eq(3).css("width","160px");
+
                     $child.eq(3).find('.ldd_submenu').css("width","160px");
            $child.eq($number).find('.ldd_submenu').slideDown(300);
            $child.eq($number).find('.ldd_submenu').slideDown(300);
} ,function(){  
} ,function(){  

Revision as of 16:46, 5 October 2014