Template:Team:TU Munich/Menu

From 2011.igem.org

(Difference between revisions)
Line 288: Line 288:
     if (constituentFolders.length>=4) {
     if (constituentFolders.length>=4) {
         if (constituentFolders.length==5) {
         if (constituentFolders.length==5) {
 +
        console.log('case 5');
         $('#navmenu').mouseleave(function() {
         $('#navmenu').mouseleave(function() {
    if ($('#subnavtopics').css('height') === '0px') {
    if ($('#subnavtopics').css('height') === '0px') {
Line 326: Line 327:
    else { //begin 4
    else { //begin 4
    $('#navmenu').mouseleave(function() {
    $('#navmenu').mouseleave(function() {
 +
    console.log('case 4');
    if ($('#subnavtopics').css('height') === '0px') {
    if ($('#subnavtopics').css('height') === '0px') {
   
   

Revision as of 18:28, 2 September 2011