Template:12SJTU header

From 2012.igem.org

(Difference between revisions)
 
(7 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Template:12SJTU_scroll2top_css}}
 +
{{Template:12SJTU_sliderbar}}
 +
{{Template:12SJTU_theme_css}}
<html>
<html>
<head>
<head>
-
<link rel="stylesheet" href="http://igem.bio-x.cn/home/style/sliderbar.css" type="text/css">
 
-
<link rel="stylesheet" href="http://igem.bio-x.cn/home/style/theme.css" type="text/css">
 
-
<link rel="stylesheet" href="http://igem.bio-x.cn/home/style/contentslider.css" type="text/css"/>
 
-
<link rel="stylesheet" href="http://igem.bio-x.cn/home/style/scroll2top.css" type="text/css"/>
 
-
<link rel="stylesheet" href="http://igem.bio-x.cn/home/style/sliderman.css" type="text/css"/>
 
-
 
-
<script src="http://igem.bio-x.cn/home/style/sliderman.1.3.7.js" type="text/javascript" ></script>
 
<style type="text/css">
<style type="text/css">
-
#toc, .toc {
 
-
border: 0px;
 
-
padding: 2px;
 
-
 
-
}
 
#p-logo{
#p-logo{
Line 20: Line 11:
}
}
#footer-box{
#footer-box{
-
  display: none;
 
-
}
 
-
#footer{
 
   display: none;
   display: none;
}
}
Line 34: Line 22:
     margin-left: 0px;
     margin-left: 0px;
}
}
-
.firstHeading{
+
#firstHeading{
     display: none;
     display: none;
-
}
 
-
#catlinks{
 
-
  display: none;
 
}
}
#top-section{
#top-section{
Line 49: Line 34:
#contentSub{
#contentSub{
     display: none;
     display: none;
 +
}
 +
.firstHeading{
 +
    display: none;
 +
}
 +
#catlinks{
 +
    display: none;
 +
}
 +
#globalWrapper{
 +
 +
margin: 0px 0px 0px 0px;
 +
height: 0px;
 +
background-repeat:no-repeat !important;
 +
background-attachment: fixed!important;
 +
color: #000000;
 +
background-color: #e6e6e6;
 +
-moz-background-size:cover !important;
 +
background-size:cover !important;
 +
padding:0px 0px 0px 0px;
 +
}
 +
#main_wrapper{
 +
position:absolute;
 +
top:-93px;
 +
left:-20px;
 +
margin: 0px 0px 0px 0px;
 +
width:1012px;
 +
background-repeat:no-repeat !important;
 +
background-attachment: fixed!important;
 +
color: #000000;
 +
-moz-background-size:cover !important;
 +
background-size:cover !important;
 +
padding-top:8px;
 +
}
 +
#search-controls
 +
{
 +
display:none;
}
}
</style>
</style>
 +
    <script src="http://igem.bio-x.cn/home/style/jquery-1.3.2.min.js" type="text/javascript"></script>
 +
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js?ver=1.3.2"></script>
 +
    <script type="text/javascript">
 +
jQuery.noConflict();
 +
($(function(){
 +
var $el, leftPos, newWidth,
 +
$mainNav = $("#lavalamp");
 +
$mainNav.append("<li id='lavalampbg'></li>");
 +
var $magicLine = $("#lavalampbg");
 +
$magicLine
 +
.css("left", $(".current a").position().left+$(".current a").width()/2-35)
 +
.data("origLeft", $(".current a").position().left+$(".current a").width()/2-35)
 +
$("#lavalamp li").find("a").hover(function() {
 +
$el = $(this);
 +
leftPos = $el.position().left+$el.width()/2-35;
 +
$magicLine.stop().animate({
 +
  left: leftPos
 +
})
 +
}, function() {
 +
$magicLine.stop().animate({
 +
left: $magicLine.data("origLeft")
 +
});   
 +
});
 +
})
 +
);(jQuery);
 +
</script>
 +
</head>
</head>
-
 
<body>
<body>
<div id="main_wrapper">
<div id="main_wrapper">
-
<table class="head" cellspacing="0" width="982" cellpadding="0" align="center"><tbody>
+
<table class="head" cellspacing="0" width="1012" cellpadding="0" align="center"><tbody>
<td><tr></tr>
<td><tr></tr>
</td>
</td>

Latest revision as of 15:07, 26 October 2012