Team:Brown-Stanford/Templates/Main
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.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" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | <!-- | ||
+ | var rand = Math.round(Math.random() * (5)) + 1; | ||
+ | images = new Array | ||
+ | images[1] = "https://static.igem.org/mediawiki/2011/a/a1/Brown-Stanford_BG1.jpg" | ||
+ | images[2] = "https://static.igem.org/mediawiki/2011/8/81/Brown-Stanford_BG2.jpg" | ||
+ | images[3] = "https://static.igem.org/mediawiki/2011/a/a9/Brown-Stanford_BG3.jpg" | ||
+ | images[4] = "https://static.igem.org/mediawiki/2011/f/fd/Brown-Stanford_BG4.jpg" | ||
+ | images[5] = "https://static.igem.org/mediawiki/2011/4/4c/Brown-Stanford_BG5.jpg" | ||
+ | images[6] = "https://static.igem.org/mediawiki/2011/7/7f/Brown-Stanford_BG6.jpg" | ||
+ | var image = images[rand] | ||
+ | --> | ||
+ | </script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
Line 533: | Line 547: | ||
<link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:Brown-Stanford/css?action=raw&ctype=text/css" /> | <link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:Brown-Stanford/css?action=raw&ctype=text/css" /> | ||
- | </head> | + | </head> |
- | <body> | + | <script type="text/javascript"> |
+ | <!-- | ||
+ | document.write('<body style="background:background-image:url(\'' + image + '\'); background-repeat:no-repeat; background-attachment:fixed; background-position:center;">') | ||
+ | --> | ||
+ | </script> | ||
<div id="wrap"> | <div id="wrap"> | ||
<div id="header" style="height:100px;padding: 85px 55px 10px 55px"><!--<img align="center" style="margin-bottom:0px; padding:0;" src="https://static.igem.org/mediawiki/2010/d/d4/CamBillHeaderSq.png" usemap="#headermap" alt="E. glowli">--> | <div id="header" style="height:100px;padding: 85px 55px 10px 55px"><!--<img align="center" style="margin-bottom:0px; padding:0;" src="https://static.igem.org/mediawiki/2010/d/d4/CamBillHeaderSq.png" usemap="#headermap" alt="E. glowli">--> |
Revision as of 21:51, 9 June 2011