Team:CBNU-Korea/contenttest

From 2011.igem.org

(Difference between revisions)
Line 11: Line 11:
margin:0;
margin:0;
padding:0;
padding:0;
-
}
 
-
 
-
#background-wrap img {
 
-
position: absolute;
 
-
z-index: -1;
 
-
width: 100%;
 
-
min-width:950px;
 
}
}
Line 25: Line 18:
font-family:Arial, Helvetica, sans-serif;
font-family:Arial, Helvetica, sans-serif;
color:#fff;
color:#fff;
-
/*background:url(https://static.igem.org/mediawiki/2011/c/cd/Cbnu_back1.png) no-repeat center center fixed;*/
+
background:url(https://static.igem.org/mediawiki/2011/c/cd/Cbnu_back1.png) no-repeat center center fixed;
}
}
Line 231: Line 224:
<body>
<body>
-
<div id="background-wrap">
 
-
<img src="https://static.igem.org/mediawiki/2011/c/cd/Cbnu_back1.png">
 
-
</div>
 
<div class="main">
<div class="main">
Line 245: Line 235:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
<script type="text/javascript">
-
 
-
$('#background-wrap img').css('opacity',0);
 
-
$('#background-wrap img').animate({ opacity: 1}, 3000);
 
$(document).ready(function(){
$(document).ready(function(){

Revision as of 09:06, 2 September 2011

test brought you a fresh web development tutorial every week. Follow us on twitter