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 22: Line 23:
$(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 69: Line 57:
-
//Team page specific
+
//social media button switchers
-
 
+
$("#fbButton").hover(
-
$("#PSI1").hover(
+
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook.png");},           
-
     function() {
+
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook_1.png");}
-
//change opacity and size in future
+
-
      $("#PSI1").css("opacity","0.4");
+
-
      $("#PSI1").css("filter","alpha(opacity=40)");
+
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/George_resized.png");
+
-
      $("#pstName").css("font-weight","bold");
+
-
      $("#pstName").text("George Chao");
+
-
      $("#pstDescription").css("font-size",14);
+
-
      $("#pstDescription").text("George is double majoring in Genetics, Cell Biology and Development and Computer Science. He plans to attend graduate school, and hopefully direct a lab in the future. His interests include ballroom dance, food, programming, video games, rollerblading, and biking. If he needs a caffeine boost George will drink an iced mocha with no whipped cream or an energy drink (NOS and Rockstar Black Citrus being his personal favorites). To protect himself from the sun he stays indoors (he’s a researcher, what do you expect?). His movie character alter ego: Harold Crick from Stranger than Fiction.");
+
-
    },           
+
-
     function() {
+
-
      $("#PSI1").css("opacity","1");
+
-
      $("#PSI1").css("filter","alpha(opacity=100)");
+
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/students_maroon_img.png");
+
-
      $("#pstName").text("");
+
-
      $("#pstDescription").css("font-size",18);
+
-
      $("#pstDescription").text("Please mouse over each icon to learn about our team members!");
+
-
    }
+
);
);
-
 
+
$("#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");}
-
$("#PSI2").hover(
+
-
     function() {
+
-
      $("#PSI2").css("opacity","0.4");
+
-
      $("#PSI2").css("filter","alpha(opacity=40)");
+
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/Hannah_resized.png");
+
-
      $("#pstName").css("font-weight","bold");
+
-
      $("#pstName").text("Hannah Aho");
+
-
      $("#pstDescription").css("font-size",14);
+
-
      $("#pstDescription").text("Hannah has a BS in Genetics, Cell Biology and Development and is working towards a BA in French. She plans to attend medical school to become a urogynecologist. Her interests include Islamic feminist literature (especially from Algeria), sexual health education, le Fantastique, Korean cinema, listening to music, and watching old zombie movies. She consumes caffeine in the form of coffee (hot or iced) with heavy cream. She protects herself from the sun by wearing SPF 60 sunscreen every day, rain or shine. Her TV character alter ego: Ron Swanson from Parks and Recreation.");
+
-
    },           
+
-
     function() {
+
-
      $("#PSI2").css("opacity","1");
+
-
      $("#PSI2").css("filter","alpha(opacity=100)");
+
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/students_maroon_img.png");
+
-
      $("#pstName").text("");
+
-
      $("#pstDescription").css("font-size",18);
+
-
      $("#pstDescription").text("Please mouse over each icon to learn about our team members!");
+
-
    }
+
);
);
-
 
-
 
-
$("#PSI3").hover(
 
-
    function() {
 
-
      $("#PSI3").css("opacity","0.4");
 
-
      $("#PSI3").css("filter","alpha(opacity=40)");
 
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/Molly_resized.png");
 
-
      $("#pstName").css("font-weight","bold");
 
-
      $("#pstName").text("Molly Swanson");
 
-
      $("#pstDescription").css("font-size",14);
 
-
      $("#pstDescription").text("Molly studies in Genetics, Cell Biology and Development. Molly’s favorite activities include anything that has to do with food (eating, cooking, and baking) and herb gardening. At a coffee shop, she typically orders an iced latte with whole milk. She protects herself from the sun by applying SPF 45 to her skin when she is outside.");
 
-
    },         
 
-
    function() {
 
-
      $("#PSI3").css("opacity","1");
 
-
      $("#PSI3").css("filter","alpha(opacity=100)");
 
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/students_maroon_img.png");
 
-
      $("#pstName").text("");
 
-
      $("#pstDescription").css("font-size",18);
 
-
      $("#pstDescription").text("Please mouse over each icon to learn about our team members!");
 
-
    }
 
-
);
 
-
 
-
$("#PSI4").hover(
 
-
    function() {
 
-
      $("#PSI4").css("opacity","0.4");
 
-
      $("#PSI4").css("filter","alpha(opacity=40)");
 
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/Misha_resized.png");
 
-
      $("#pstName").css("font-weight","bold");
 
-
      $("#pstName").text("Misha Patel");
 
-
      $("#pstDescription").css("font-size",14);
 
-
      $("#pstDescription").text("Misha is a neuroscience major and plans to attend graduate school in the future. She likes to draw, read, watch television and bake in her free time. When Misha goes to a coffee shop, she orders a small french roast with milk and two sugars. In order to protect herself from the sun, she wears sunglasses when she is outside. Her TV character alter ego: Luke from Modern Family.");
 
-
    },         
 
-
    function() {
 
-
      $("#PSI4").css("opacity","1");
 
-
      $("#PSI4").css("filter","alpha(opacity=100)");
 
-
      $("#profileSelectorImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/students_maroon_img.png");
 
-
      $("#pstName").text("");
 
-
      $("#pstDescription").css("font-size",18);
 
-
      $("#pstDescription").text("Please mouse over each icon to learn about our team members!");
 
-
    }
 
-
);
 
-
 
Line 361: Line 272:
opacity:0.7;
opacity:0.7;
font-size:20px;
font-size:20px;
-
color:white;
 
-
padding: 10px;
 
-
}
 
-
 
-
 
-
 
-
//Team Page specific
 
-
.profileSelectorIcon{
 
-
width:75px;
 
-
height:75px;
 
-
border: solid 1px gray;
 
-
opacity:0.8;
 
-
}
 
-
 
-
#profileSelectorImgBox{
 
-
width:150px;
 
-
height:150px;
 
-
margin-left:auto;
 
-
margin-right:auto;
 
-
border: solid 4px black;
 
-
}
 
-
 
-
#profileSelectorText{
 
-
width:330px;
 
-
height:300px;
 
-
background-color:#660000;
 
-
opacity:0.7;
 
-
font-size:18px;
 
color:white;
color:white;
padding: 10px;
padding: 10px;
Line 396: Line 279:
<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 413: Line 313:
<div class="sideNavBar2">
<div class="sideNavBar2">
<ul>
<ul>
-
<li><a href='https://2012.igem.org/Team:Minnesota'>HOME</a></li>
+
<li><a class="current" href='https://2012.igem.org/Team:Minnesota'>HOME</a></li>
-
<li><a class="current" href='https://2012.igem.org/Team:Minnesota/Team'>TEAM</a></li>
+
<li><a href='https://2012.igem.org/Team:Minnesota/Team'>TEAM</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Project'>PROJECT</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Project'>PROJECT</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Notebook'>NOTEBOOK</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Notebook'>NOTEBOOK</a></li>
Line 448: Line 348:
<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;">
+
<div class="mainContentTextBanner">
-
<img id="PSI1" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/George_resized.png">
+
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>
+
</div><!--end mainContentTextBanner-->
-
<div class="profileSelectorIcon" style="position:absolute;left:100px;top:20px;">
+
-
<img id="PSI2" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Hannah_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:180px;top:20px;">
+
-
<img id="PSI3" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Molly_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:260px;top:20px;">
+
-
<img id="PSI4" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Misha_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:340px;top:20px;">
+
-
<img id="PSI5" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Maria_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:420px;top:20px;">
+
-
<img id="PSI6" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Niko_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:20px;top:100px;">
+
-
<img id="PSI7" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Michelle_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:20px;top:180px;">
+
-
<img id="PSI8" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Nolan_resized.png">
+
-
</div>
+
-
<div class="profileSelectorIcon" style="position:absolute;left:20px;top:260px;">
+
-
<img id="PSI9" width="75" height="75" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/Kyle_resized.png">
+
-
</div>
+
-
 
+
-
<div id="profileSelectorImgBox" style="position:absolute;left:120px; top:110px; margin-left:auto; margin-right:auto; background-color:white;">
+
-
<img id="profileSelectorImg" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/students_maroon_img.png">
+
-
</div>
+
-
 
+
-
<div id="profileSelectorText" style="position:absolute;left:300px; top:110px;">
+
-
<p id="pstName">
+
-
</p>
+
-
<p id="pstDescription">
+
-
Please mouse over each icon to learn about our team members!
+
-
</p>
+
-
</div>
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
</div> <!--end mainboxcontent-->
</div> <!--end mainboxcontent-->
Line 503: Line 362:
</div>
</div>
<div style="position:absolute;left:5px;top:75px;">
<div style="position:absolute;left:5px;top:75px;">
-
<a href="#"><img id="mainRightButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_gold_img.png"></a>
+
<a href="https://2012.igem.org/Team:Minnesota/Project"><img id="mainRightButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_gold_img.png"></a>
</div>
</div>
<div style="position:absolute;left:5px;top:150px;">
<div style="position:absolute;left:5px;top:150px;">
-
<a href="#"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/theteam_gold_img.png"></a>
+
<a href="https://2012.igem.org/Team:Minnesota/Team"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/theteam_gold_img.png"></a>
</div>
</div>
Line 515: Line 374:
<div id="MainBoxOtherLinks">
<div id="MainBoxOtherLinks">
<p class="otherLinks">
<p class="otherLinks">
-
<a href="https://2012.igem.org/Main_Page">iGEM Home</a> | <a href="https://igem.org/Team.cgi">Team Minnesota Info</a> |  
+
<a href="https://2012.igem.org/Main_Page">iGEM Home</a> | <a href="https://igem.org/Team.cgi?id=814">Team Minnesota Info</a> |  
<a href="http://www1.umn.edu/twincities/index.html">University of Minnesota Home</a>
<a href="http://www1.umn.edu/twincities/index.html">University of Minnesota Home</a>
</p>
</p>
Line 530: Line 389:
 +
 +
 +
<div class="hidden">
 +
<script type="text/javascript">
 +
<!--//--><![CDATA[//><!--
 +
var images = new Array()
 +
function preload() {
 +
for (i = 0; i < preload.arguments.length; i++) {
 +
images[i] = new Image()
 +
images[i].src = preload.arguments[i]
 +
}
 +
}
 +
preload(
 +
"http://i1158.photobucket.com/albums/p607/iGEM_MN/image4_resized.png",
 +
"http://i1158.photobucket.com/albums/p607/iGEM_MN/image3_resized.png",
 +
"http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png"
 +
)
 +
//--><!]]>
 +
</script>
 +
</div>
</body>
</body>

Revision as of 22:28, 13 September 2012

Team:Minnesota - Main Style Template Team:Minnesota

Like us on FB and follow us on Twitter!
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!