Team:Minnesota/Team

From 2012.igem.org

(Difference between revisions)
m
m
Line 10: Line 10:
$(document).ready(function(){
$(document).ready(function(){
-
 
+
//Necessary for all pages
-
  // jQuery functions go here...
+
//vertical autocenter
//vertical autocenter
Line 23: Line 22:
$(window).resize();
$(window).resize();
//end vertial autocenter
//end vertial autocenter
 +
 +
//social media button switchers
 +
$("#fbButton").hover(
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook.png");},         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook_1.png");}
 +
);
 +
 +
$("#twitterButton").hover(
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter.png");},         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter_1.png");}
 +
);
 +
 +
Line 57: Line 69:
-
//social media button switchers
+
//Team page specific
-
$("#fbButton").hover(
+
-
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook.png");},         
+
-
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook_1.png");}
+
-
);
+
-
$("#twitterButton").hover(
 
-
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter.png");},         
 
-
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter_1.png");}
 
-
);
 
Line 274: Line 278:
color:white;
color:white;
padding: 10px;
padding: 10px;
 +
}
 +
 +
 +
 +
//Team Page specific
 +
.profileSelectorIcon{
 +
width:150px;
 +
height:150px;
 +
border: solid 1px gray;
 +
opacity:0.8;
}
}
Line 279: Line 293:
<script type="text/javascript">
<script type="text/javascript">
-
function displayDate()
 
-
{
 
-
var currentDate = new Date();
 
-
var compDate = new Date(2012,10,3,0,0,0,0);
 
-
var dif = compDate - currentDate;
 
-
var sec = dif/1000;
 
-
var min = sec/60;
 
-
var hour = min/60;
 
-
var day = hour/24;
 
-
var week = Math.floor(day/7);
 
-
var dispday = Math.floor(day)%24;
 
-
var disphour = Math.floor(hour)%24;
 
-
var dispmin = Math.floor(min)%60;
 
-
var dispsec = Math.floor(sec)%60;
 
-
var dispString = "Time until iGEM North America East Regional Jamboree: " + week + " weeks, " + dispday + " days, " + disphour + " hours, " + dispmin + " minutes, " + dispsec + " seconds.";
 
-
document.getElementById("demo").innerHTML=dispString;
 
-
t=setTimeout('displayDate()',500);
 
-
}
+
 
</script>
</script>
Line 347: Line 344:
<div id="MainBoxContent">
<div id="MainBoxContent">
-
<img id="MainBoxContentImg" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png">
+
<div class="profileSelectorIcon" style="position:absolute;left:20px;top:20px;">
-
 
+
<img id="PSI1" src=http://i1158.photobucket.com/albums/p607/iGEM_MN/George_resized.png">
-
<div class="mainContentTextBanner">
+
</div>
-
Welcome to the University of Minnesota iGEM team website! Please take some time to explore around by hovering over the icons on the right for quick blurbs or navigate using the buttons to the left. We hope you enjoy learning about us and what we do!
+
-
</div><!--end mainContentTextBanner-->
+
</div> <!--end mainboxcontent-->
</div> <!--end mainboxcontent-->

Revision as of 06:14, 23 August 2012

Team:Minnesota - Main Style Template Team:Minnesota