Team:NYMU-Taipei/Navigation

From 2013.igem.org

(Difference between revisions)
Line 116: Line 116:
color:#fff;
color:#fff;
}
}
-
ul.sdt_menu li div.sdt_box a div.sdt_secsub {
+
/*ul.sdt_menu li div.sdt_box a div.sdt_secsub {
         float: left;
         float: left;
         clear: both;
         clear: both;
Line 122: Line 122:
         line-height: 30px;
         line-height: 30px;
         color: #ffffff;
         color: #ffffff;
-
}
+
}*/
</style>
</style>
Line 245: Line 245:
if($elem.parent().children().length == $elem.index()+1)
if($elem.parent().children().length == $elem.index()+1)
left = '-127px';
left = '-127px';
-
$sub_menu.show().animate({'left':left},100,function(){
+
$sub_menu.show().animate({'left':left},100);
-
$sub_menu.bind('mouseenter',function(){
+
-
$secsub_menu = $element.find('.sdt_secsub');
+
-
if($secsub_menu.length){
+
-
var left = '254px'
+
-
if($elem.parent().children().length == $elem.index()+1)
+
-
var left = '-254px'
+
-
$secsub_menu.show().animate({'left':left},100);
+
-
}
+
-
+
-
});
+
};
};
});
});

Revision as of 14:06, 19 September 2013