Template:Team:TU Munich/Menu
From 2011.igem.org
(Difference between revisions)
Line 48: | Line 48: | ||
width: 800px; | width: 800px; | ||
border: 1px; solid; #666666; | border: 1px; solid; #666666; | ||
+ | #navtopics { | ||
+ | background-color: #444444; | ||
+ | display: block; | ||
+ | height: 50px; | ||
+ | overflow: hidden; | ||
+ | top: 100px; | ||
+ | left: 0; | ||
+ | position: absolute; | ||
+ | top: 100px; | ||
} | } | ||
Line 61: | Line 70: | ||
$('.listhead').not('.curlink').css("color","#ffffff"); | $('.listhead').not('.curlink').css("color","#ffffff"); | ||
$('.listmain').not('.curlink').css("color","#dddddd"); | $('.listmain').not('.curlink').css("color","#dddddd"); | ||
- | $('# | + | $('#navtopics ul').fadeOut(500); |
- | $('# | + | $('#navtopics').stop().animate({height:'50px',top:'100px'},1000); |
}); | }); | ||
Line 68: | Line 77: | ||
$('.navtopic').not('.curlink').css("color","#ffffff"); | $('.navtopic').not('.curlink').css("color","#ffffff"); | ||
$(this).css("color","#444444"); | $(this).css("color","#444444"); | ||
- | $('# | + | $('#navtopics ul').css("display","none"); |
var vActive = $(this).attr("id"); | var vActive = $(this).attr("id"); | ||
$('.'+vActive).stop(true, true).fadeIn(500); | $('.'+vActive).stop(true, true).fadeIn(500); |
Revision as of 16:09, 4 July 2011