Template:Leanna css
From 2010.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
<script language="javascript" src="jquery.dimensions.js"></script> | <script language="javascript" src="jquery.dimensions.js"></script> | ||
- | |||
- | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 43: | Line 41: | ||
var offset = menuYloc+$(document).scrollTop()+"px"; | var offset = menuYloc+$(document).scrollTop()+"px"; | ||
$(name).animate({top:offset},{duration:500,queue:false}); | $(name).animate({top:offset},{duration:500,queue:false}); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
}); | }); | ||
}); | }); | ||
Line 106: | Line 92: | ||
#top-section { | #top-section { | ||
- | height: | + | height: 100px; |
margin-top: -5px; | margin-top: -5px; | ||
margin-bottom: 0 !important; | margin-bottom: 0 !important; |
Revision as of 19:47, 3 August 2010