Team:Minnesota/Test

From 2012.igem.org

(Difference between revisions)
m
m
 
(125 intermediate revisions not shown)
Line 4: Line 4:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Team:Minnesota</title>
<title>Team:Minnesota</title>
 +
 +
<script type="text/javascript" src="jquery.js"></script>
 +
<script type="text/javascript">
 +
 +
 +
$(document).ready(function(){
 +
 +
  // jQuery functions go here...
 +
 +
//vertical autocenter
 +
$(window).resize(function(){
 +
  $('#ContentAll').css({
 +
    position:'absolute',
 +
    top: ($(window).height() - $('#ContentAll').outerHeight())/2
 +
  });
 +
});
 +
 +
$(window).resize();
 +
//end vertial autocenter
 +
 +
 +
//main page image switcher
 +
 +
$("#mainRightButton1").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_maroon_txt.png");
 +
      $("#MainBoxContentImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png");
 +
      $(".mainContentTextBanner").text("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!");
 +
    },         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_gold_txt.png");}
 +
);
 +
 +
$("#mainRightButton2").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_maroon_txt.png");
 +
      $("#MainBoxContentImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image4_resized.png");
 +
      $(".mainContentTextBanner").text("We are a dedicated team of students from the University of Minnesota - Twin Cities working to further the field of synthetic biology scientifically and to make it more accessible to the public! Click the team button on the left to learn more about each of us!");
 +
    },         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_gold_img.png");}
 +
);
 +
 +
$("#mainRightButton3").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/theteam_maroon_txt.png");
 +
      $("#MainBoxContentImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image3_resized.png");
 +
      $(".mainContentTextBanner").text("Our team is working on projects that both help to develop the field of synthetic biology and are just awesome in general! This year, we are working on making caffeinated bread and a sunscreen that requires only one application. Ever! Click the project button on the left to learn more!");
 +
    },         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/theteam_gold_img.png");}
 +
);
 +
 +
 +
 +
 +
//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");}
 +
);
 +
 +
 +
$("#testBox").hover(
 +
    function(){ $(this).text("Red!"); $(this).css("background-color","red"); $(this).css("font-weight", "bold");},
 +
    function(){ $(this).text("Blue!"); $(this).css("background-color","blue");$(this).css("font-weight", "normal");}
 +
);
 +
 +
 +
}); //ends .ready function
 +
 +
 +
 +
</script>
 +
<style type="text/css">
<style type="text/css">
 +
#testBox{
 +
position:absolute;
 +
top: 20px;
 +
left: 20px;
 +
width: 100px;
 +
height: 100px;
 +
background-color: blue;
 +
 +
}
 +
 +
 +
#ContentAll{
#ContentAll{
Line 10: Line 99:
width:1000px;
width:1000px;
height:700px;
height:700px;
-
top:0px;
+
/*autocenter horizontally*/
-
/*autocenter*/
+
left:50%;
-
margin-left:auto;
+
margin-left:-500px;
-
margin-right:auto;
+
 
background-color:#E17E7E;
background-color:#E17E7E;
}
}
Line 27: Line 116:
width:1000px;
width:1000px;
height:150px;
height:150px;
-
background-color:red;
+
background-color:white;
Line 49: Line 138:
width: 800px;
width: 800px;
height:550px;
height:550px;
-
background-color:#D2D2D2;
+
background-color:white;
}
}
Line 63: Line 152:
#MainBoxOtherLinks{
#MainBoxOtherLinks{
position:absolute;
position:absolute;
-
width:800px;
+
width: 800px;
height: 75px;
height: 75px;
-
background-color: black;
+
background-color: white;
top: 475px;
top: 475px;
 +
}
 +
 +
#MainBoxOtherLinks p.otherLinks{
 +
position:absolute;
 +
left:200px;
 +
top:25px;
 +
background-color: none;
 +
color: gray;
}
}
 +
 +
 +
#MainBoxOtherLinks p.otherLinks a{
 +
  text-decoration:none;
 +
  color: gray;
 +
}
 +
 +
#MainBoxOtherLinks p.otherLinks a:hover{
 +
  text-decoration:underline;
 +
}
Line 83: Line 190:
{
{
position:absolute;
position:absolute;
-
top:0px;
+
top:25px;
left:0px;
left:0px;
margin:0;
margin:0;
Line 98: Line 205:
.sideNavBar2 a{
.sideNavBar2 a{
-
     font-family: Verdana, Century Gothic, Tahoma, sans-serif;
+
     font-family: Trebuchet MS, Verdana, Century Gothic, Tahoma, sans-serif;
     font-size:20px;
     font-size:20px;
-
     font-weight:600;
+
     //font-weight:600;
-
     padding-top:17px;
+
 
-
     padding-left:30px;
+
     padding-top:5px;
 +
     padding-left:15px;
 +
 
 +
 
     text-decoration:none;
     text-decoration:none;
     background-color:white;
     background-color:white;
     display:block;
     display:block;
     width:150px;
     width:150px;
-
     height:45px;
+
     height:35px;
}
}
Line 129: Line 239:
     border-style: none none none solid;
     border-style: none none none solid;
     border-color:#660000 #660000 #660000 #660000;
     border-color:#660000 #660000 #660000 #660000;
-
     color: gold;
+
     color: #FBB917;
}
}
.sideNavBar2 a:active {
.sideNavBar2 a:active {
Line 135: Line 245:
     border-style: none none none solid;
     border-style: none none none solid;
     border-color:#660000 #660000 #660000 #660000;
     border-color:#660000 #660000 #660000 #660000;
-
     color: gold;
+
     color: #FBB917;
}
}
.sideNavBar2 a.current{ /*force black for current button*/
.sideNavBar2 a.current{ /*force black for current button*/
-
     color: black;
+
     color: #660000;
}
}
.sideNavBar2 a.current:hover{ /*allow for gold to still happen for current button*/
.sideNavBar2 a.current:hover{ /*allow for gold to still happen for current button*/
-
     color: #660000;
+
     color: #FBB917;
 +
}
 +
 
 +
.sideSocialMediaButtons{
 +
position:absolute;
 +
width:120px;
 +
height:60px;
 +
top:460px;
 +
left:30px;
 +
background-color:white;
}
}
/*End Revised sidebar styles*/
/*End Revised sidebar styles*/
 +
 +
/*Start Main Content items*/
 +
.rightNavButtons {
 +
position:absolute;
 +
top:140px;
 +
left:695px;
 +
width:80px;
 +
height:220px;
 +
background-color:transparent;
 +
}
 +
 +
.rightNavButtons a{
 +
display:block;
 +
}
 +
 +
.mainContentTextBanner{
 +
position:absolute;
 +
top:350px;
 +
left:0px;
 +
width:730px;
 +
height:80px;
 +
background-color:#660000;
 +
opacity:0.7;
 +
font-size:20px;
 +
color:white;
 +
padding: 10px;
 +
}
</style>
</style>
Line 180: Line 326:
<div id="MainBanner">
<div id="MainBanner">
 +
<img src="http://i1158.photobucket.com/albums/p607/iGEM_MN/MainBanner_compressed.png">
</div>
</div>
Line 185: Line 332:
<div class="sideNavBar2">
<div class="sideNavBar2">
<ul>
<ul>
-
<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'>HOME</a></li>
-
<li><a 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>
-
<li><a href='https://2012.igem.org/Team:Minnesota/Attributions'>Attributions</a></li>
+
<li><a href='https://2012.igem.org/Team:Minnesota/Attributions'>ATTRIBUTIONS</a></li>
-
<li><a href='https://2012.igem.org/Team:Minnesota/Outreach'>Outreach</a></li>
+
<li><a href='https://2012.igem.org/Team:Minnesota/Outreach'>OUTREACH</a></li>
-
<li><a href='https://2012.igem.org/Team:Minnesota/Sponsors'>Sponsors</a></li>
+
<li><a href='https://2012.igem.org/Team:Minnesota/Sponsors'>SPONSORS</a></li>
</ul>
</ul>
</div>
</div>
 +
 +
<div class="sideSocialMediaButtons">
 +
<div style="position:absolute; left:6px; top:6px;">
 +
<a href="http://www.facebook.com/iGEM.Minnesota">
 +
<img id="fbButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/facebook_1.png">
 +
</a>
</div>
</div>
 +
 +
<div style="position:absolute; left:66px; top:6px;">
 +
<a href="https://twitter.com/igem_mn">
 +
<img id="twitterButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter_1.png">
 +
</a>
 +
</div>
 +
</div> <!--End sideSocialMediaButtons-->
 +
 +
<!--temp area for guide to social media-->
 +
<div style="position:absolute; top:420px; left:20px;font-family:Verdana;font-size:15;">
 +
Like us on FB and follow us on Twitter!
 +
</div>
 +
 +
</div> <!--End sideBarAll-->
<div id="MainBoxAll">
<div id="MainBoxAll">
 +
<div id="MainBoxContent">
<div id="MainBoxContent">
 +
<img id="MainBoxContentImg" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png">
 +
 +
<div class="mainContentTextBanner">
 +
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-->
-
<div id="MainBoxOtherLinks">
+
<div class="rightNavButtons">
 +
<div style="position:absolute;left:5px;top:0px;">
 +
<a href="#"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_gold_txt.png"></a>
 +
</div>
 +
<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>
 +
</div>
 +
<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>
 +
</div>
 +
 +
 +
</div><!--end rightNavButtons-->
 +
 +
 +
<div id="MainBoxOtherLinks">
 +
<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="http://www1.umn.edu/twincities/index.html">University of Minnesota Home</a>
 +
</p>
</div> <!--end mainboxotherlinks-->
</div> <!--end mainboxotherlinks-->
Line 216: Line 408:
 +
 +
<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>
 +
 +
 +
<div style="position:absolute; left:20px; top:20px; width:  300px; height:300px; background-color: white;">
 +
<p id="testBox">
 +
Blue!
 +
</p>
 +
</div>
</body>
</body>

Latest revision as of 23:49, 6 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!

Blue!