Template:Team:TU Munich/MeetingHeader

From 2012.igem.org

(Difference between revisions)
 
(19 intermediate revisions not shown)
Line 9: Line 9:
     margin: 15px 0;
     margin: 15px 0;
     padding: 0.5em 0;
     padding: 0.5em 0;
 +
    font-size: 100%;
}
}
Line 37: Line 38:
}
}
-
.experiment {
+
.meeting {
     margin: 5px 0;
     margin: 5px 0;
}
}
Line 92: Line 93:
div.light_switchable_promoter h3 {
div.light_switchable_promoter h3 {
     color: rgb(0, 32, 96);
     color: rgb(0, 32, 96);
-
}
 
-
 
-
#MJune {
 
-
    display: none;
 
-
}
 
-
 
-
#MJuly {
 
-
    display: none;
 
}
}
Line 135: Line 128:
   $("table").addClass("wikitable");
   $("table").addClass("wikitable");
   $("#bodyContent h2").addClass("ui-corner-all");
   $("#bodyContent h2").addClass("ui-corner-all");
-
   $('.meeting h2 span.mw-headline').click(function() {
+
   $('h2 span.mw-headline').click(function() {
-
   if ($(this).hasClass('displayed')) {
+
   $('.M'+this.id).fadeToggle("slow", "linear")
-
    $(this).parent().parent().children('p').css({display: 'none'})
+
-
    $(this).parent().parent().children('table').css({display: 'none'})
+
-
    $(this).parent().parent().children('ul').css({display: 'none'})
+
-
    $(this).parent().parent().children('pre').css({display: 'none'})
+
-
    $(this).removeClass('displayed')
+
-
  }else {
+
-
    $(this).parent().parent().children('p').css({display: 'block'})
+
-
    $(this).parent().parent().children('table').css({display: 'table'})
+
-
    $(this).parent().parent().children('ul').css({display: 'block'})
+
-
    $(this).parent().parent().children('pre').css({display: 'block'})
+
-
    $(this).addClass('displayed')
+
-
  }
+
   });
   });
-
   $('.meeting h2 span.mw-headline').attr({ onMouseOver: "this.style.cursor='pointer'"})
+
   $('h2 span.mw-headline').attr({ onMouseOver: "this.style.cursor='pointer'"})
});
});
</script>
</script>
</head>
</head>
</html>
</html>

Latest revision as of 10:26, 26 September 2012