Template:Team:HokkaidoU Japan/LargeDropDown/JS

From 2014.igem.org

(Difference between revisions)
Line 16: Line 16:
    var $menu = $('#ldd_menu');
    var $menu = $('#ldd_menu');
                     var $child = $menu.children("li");
                     var $child = $menu.children("li");
-
                     var $number = $child.index(this);
+
                     var number = $child.index(this);
         $child.eq(number).hover(function(){
         $child.eq(number).hover(function(){
  $child.find('.ldd_submenu').slideDown(300);
  $child.find('.ldd_submenu').slideDown(300);

Revision as of 11:44, 5 October 2014