Template:Mexico-UNAM-CINVESTAV-HEADER

From 2010.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
 +
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Mexico-UNAM-CINVESTAV/files/customized.css?action=raw&amp;ctype=text/css">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>  
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>  
-
<script type="text/javascript">
+
<script type="text/javascript" src="https://2010.igem.org/Team:Mexico-UNAM-CINVESTAV/files/mx-header.js?action=raw&amp;ctype=text/javascript"></script>
-
$(document).ready(function(){
+
-
/*
+
-
$("body").css("display", "none");
+
-
        $("body").fadeIn(200);
+
-
  $("a.transition").click(function(event){
+
-
event.preventDefault();
+
-
linkLocation = this.href;
+
-
$("body").fadeOut(200, redirectPage);
+
-
});
+
-
function redirectPage() {
+
-
window.location = linkLocation;
+
-
}
+
-
*/
+
-
 
+
-
$("ul.subnav").parent().append("<span></span>");
+
-
$("ul.topnav li span").click(function() {
+
-
$(this).parent().find("ul.subnav").slideDown('fast').show();
+
-
$(this).parent().hover(function() {
+
-
}, function(){
+
-
$(this).parent().find("ul.subnav").slideUp('slow');
+
-
});
+
-
}).hover(function() {
+
-
$(this).addClass("subhover");
+
-
}, function(){
+
-
$(this).removeClass("subhover");
+
-
});
+
-
 
+
-
 
+
-
 
+
-
});
+
-
</script>
+
-
<style type="text/css" src="https://2010.igem.org/Team:Mexico-UNAM-CINVESTAV/files/customized.css?action=raw">
+
-
 
+
-
</style>
+
<body>
<body>

Revision as of 07:39, 3 September 2010