Template:Team:TU Munich/Menu
From 2011.igem.org
(Difference between revisions)
Line 55: | Line 55: | ||
height: 50px; | height: 50px; | ||
overflow: hidden; | overflow: hidden; | ||
- | width: | + | width: 50%; |
left: 0; | left: 0; | ||
position: absolute; | position: absolute; | ||
Line 66: | Line 66: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('#topics').mouseover(function() { | $('#topics').mouseover(function() { | ||
- | $('#navtopics').stop().animate({height:'150px',top:'0px'},1000); | + | $('#navtopics').stop().animate({height:'150px',top:'0px',width:'100%'},1000); |
}); | }); | ||
Line 73: | Line 73: | ||
$('.navtopic').not('.curlink').css("color","#dddddd"); | $('.navtopic').not('.curlink').css("color","#dddddd"); | ||
$('#navtopics ul').fadeOut(500); | $('#navtopics ul').fadeOut(500); | ||
- | $('#navtopics').stop().animate({height:'50px',top:'100px'},1000); | + | $('#navtopics').stop().animate({height:'50px',top:'100px',width:'50%'},1000); |
}); | }); | ||
Revision as of 21:04, 4 July 2011