Template:Tempalte:HIT-Harbin

From 2012.igem.org

(Difference between revisions)
Line 156: Line 156:
.post-391.odd {margin-right:40px;}
.post-391.odd {margin-right:40px;}
.post-391 .post-excerpt {line-height:24px;}
.post-391 .post-excerpt {line-height:24px;}
 +
</style>
 +
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 +
<title>HIT-Harbin</title>
 +
</head>
 +
<body>
 +
</div>
 +
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
 +
 +
<script type="text/javascript">
 +
$(document).ready(function(){
 +
$("#slider").easySlider({
 +
auto: false, continuous: true,
 +
numeric: true
 +
});
 +
});
 +
</script>
 +
<script type="text/javascript">
 +
sfHover = function() {
 +
var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
 +
for (var i=0; i<sfEls.length; i++) {
 +
sfEls[i].onmouseover=function() {
 +
this.className+=" sfhover";
 +
}
 +
sfEls[i].onmouseout=function() {
 +
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
 +
}
 +
}
 +
}
 +
if (window.attachEvent) window.attachEvent("onload", sfHover);
 +
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
<script type="text/javascript">
Line 335: Line 365:
     };
     };
})(jQuery);
})(jQuery);
-
 
-
 
-
$(document).ready(function(){
 
-
$("#slider").easySlider({
 
-
auto: false, continuous: true,
 
-
numeric: true
 
-
});
 
-
});
 
</script>
</script>
-
<script type="text/javascript">
 
-
sfHover = function() {
 
-
var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
 
-
for (var i=0; i<sfEls.length; i++) {
 
-
sfEls[i].onmouseover=function() {
 
-
this.className+=" sfhover";
 
-
}
 
-
sfEls[i].onmouseout=function() {
 
-
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
 
-
}
 
-
}
 
-
}
 
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
 
-
</script>
 
-
 
-
 
-
 
-
 
-
</style>
 
-
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
-
<title>HIT-Harbin</title>
 
-
</head>
 
-
<body>
 
-
</div>
 
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
 
-
 
-
<script type="text/javascript">
 
-
$(document).ready(function(){
 
-
$("#slider").easySlider({
 
-
auto: false, continuous: true,
 
-
numeric: true
 
-
});
 
-
});
 
-
</script>
 
-
<script type="text/javascript">
 
-
sfHover = function() {
 
-
var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
 
-
for (var i=0; i<sfEls.length; i++) {
 
-
sfEls[i].onmouseover=function() {
 
-
this.className+=" sfhover";
 
-
}
 
-
sfEls[i].onmouseout=function() {
 
-
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
 
-
}
 
-
}
 
-
}
 
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
 
-
</script>
 
-
 
<body>
<body>
<div id="header">
<div id="header">

Revision as of 05:11, 24 September 2012

HIT-Harbin