Template:Team:TU Munich/Menu
From 2011.igem.org
(Difference between revisions)
Line 59: | Line 59: | ||
position: absolute; | position: absolute; | ||
top: 100px; | top: 100px; | ||
+ | } | ||
+ | |||
+ | #navtitle { | ||
+ | color: #CCCCCC; | ||
+ | left: 30px; | ||
+ | position: relative; | ||
+ | bottom: 10px; | ||
} | } | ||
Line 70: | Line 77: | ||
$('#navmenu').mouseleave(function() { | $('#navmenu').mouseleave(function() { | ||
- | $('.navpoint').not('.curlink').css("color","# | + | $('.navpoint').not('.curlink').css("color","#CCCCCC"); |
- | $('.navtopic').not('.curlink').css("color","# | + | $('.navtopic').not('.curlink').css("color","#CCCCCC"); |
$('#navtopics ul').fadeOut(500); | $('#navtopics ul').fadeOut(500); | ||
$('#navtopics').stop().animate({height:'50px',top:'100px',width:'50%'},1000); | $('#navtopics').stop().animate({height:'50px',top:'100px',width:'50%'},1000); | ||
Line 77: | Line 84: | ||
$('.navtopic').mouseover(function(){ | $('.navtopic').mouseover(function(){ | ||
- | $('.navtopic').not('.curlink').css("color","# | + | $('.navtopic').not('.curlink').css("color","#CCCCCC"); |
$(this).css("color","#444444"); | $(this).css("color","#444444"); | ||
$('#navtopics ul').css("display","none"); | $('#navtopics ul').css("display","none"); | ||
Line 85: | Line 92: | ||
$('#navtopics').mouseleave(function(){ | $('#navtopics').mouseleave(function(){ | ||
- | $('.navtopic').not('.curlink').css("color","# | + | $('.navtopic').not('.curlink').css("color","#CCCCCC"); |
}); | }); | ||
}); | }); |
Revision as of 21:08, 4 July 2011