Team:Cornell/protocols/secret dylan dance

From 2012.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
<style>
<style>
-
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo, #menubar, #menubar:hover {display:none;}
+
html{ background:url('background.jpg') no-repeat center center;min-height:100%;background-size:cover;}
-
#top-section {border: none;height: 0px;}
+
body{min-height:100%;}
-
#content {
+
-
border: none;
+
-
background:url('https://static.igem.org/mediawiki/2012/2/28/DylanDriesPlates.gif') no-repeat center center;
+
-
min-height:100%;
+
-
background-size:1000px 600px;
+
-
height:100%;
+
-
width:100%;
+
-
}
+
</style>
</style>
</head>
</head>
<body>
<body>
-
<h1 id="text">A Wild Dylan Appears!</h1>
 
-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
 
-
<script>
 
-
$(document).load(function(){
 
-
var h = $(window).height;
 
-
$('#content').height(h);
 
-
var w = $(window).width;
 
-
$('#content').width(w);
 
-
});
 
-
</script>
 
</body>
</body>
</html>
</html>

Revision as of 08:59, 26 October 2012