Difference between revisions of "Template:Fudan-CHINA"

Line 1: Line 1:
 
<html>
 
<html>
 
 
 +
 +
 
 
 
<head>
 
<head>
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/jQuery&amp;action=raw&amp;ctype=text/javascript"></script>
+
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/jQuery&action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/SuperSlide&amp;action=raw&amp;ctype=text/javascript"></script>
+
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/SuperSlide&action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/jQueryAnimateColors&action=raw&ctype=text/javascript"></script>
 +
 
<script>
 
<script>
 
//$("#top_menu_14").hide();
 
//$("#top_menu_14").hide();
 
//$("#top_menu_under").hide();
 
//$("#top_menu_under").hide();
 
$(document).ready(function(){
 
$(document).ready(function(){
   $("#navname a").mouseover(function(){
+
   $("#navname li a").mouseover(function(){
     $(this).animate({lineHeight:'70px'},"fast");
+
     $(this).animate({backgroundColor: 'antiquewhite'},"fast");
 
   });
 
   });
   $("#navname a").mouseout(function(){
+
   $("#navname li a").mouseout(function(){
     $(this).animate({lineHeight:'75px'},"fast");
+
     $(this).animate({backgroundColor: 'white'},"fast");
 
   });
 
   });
 
});
 
});
Line 73: Line 77:
 
#navname li{
 
#navname li{
 
display: inline;
 
display: inline;
+
list-style:none;
 +
padding: 0px;
 +
margin: -2px;
 
}
 
}
 
#navname li a{
 
#navname li a{
Line 84: Line 90:
 
font-size: 25px;
 
font-size: 25px;
 
         font-family:_Quicksand;
 
         font-family:_Quicksand;
padding: 20px;
+
padding: 24px;
 +
margin: 0;
 +
 
}
 
}
 +
 
img#logoOnNav{
 
img#logoOnNav{
 
background-color:rgba(24,99,162,1.00);  
 
background-color:rgba(24,99,162,1.00);  
Line 105: Line 114:
 
<li><a href="#">&ensp;&ensp;&ensp;&ensp;&ensp;</a></li>
 
<li><a href="#">&ensp;&ensp;&ensp;&ensp;&ensp;</a></li>
 
 
<li><a href="#">About</a></li>
+
<li><a class="liname" href="#">About</a></li>
<li><a href="#">Practices</a></li>
+
<li><a class="liname" href="#">Practices</a></li>
     <li><a href="#">Modeling</a></li>
+
     <li><a class="liname" href="#">Modeling</a></li>
     <li><a href="#">Lab</a></li>
+
     <li><a class="liname" href="#">Lab</a></li>
     <li><a href="#">Project</a></li>
+
     <li><a class="liname" href="#">Project</a></li>
 
</ul>
 
</ul>
 
</div>
 
</div>

Revision as of 14:17, 19 September 2018