Difference between revisions of "Template:RHIT"

 
(633 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template_All_Teams}}
 
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
 
<html>
 
<html>
 
+
<style>
<!-- Start of CSS-->
+
/* Hide first heading */
<style type="text/css">
+
.firstHeading {
 
+
display: none;
/* PAGE LAYOUT */
+
}
 +
 +
/*-- Remove borders, float content left and remove padding/margin */
 +
#globalWrapper, #content{
 +
background-color: transparent;
 +
border: 0px;
 +
float: left;
 +
margin:0px;
 +
padding: 0px;
 +
}
  
 
/* Change Background color*/
 
/* Change Background color*/
 
body {  
 
body {  
background-color: ##606b7d;
+
background-color: transparent;
 
}
 
}
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
/*left align Black Menu Bar */
#mainContainer {
+
#top_menu_inside {  
width: "980px";
+
margin-left: 20px;  
overflow:hidden;
+
float:left;
+
margin-left:20px;
+
margin-bottom: 10px;
+
background-color: #424652;
+
border-bottom: 14px solid #000000;
+
border-right: 2px solid #000000;
+
border-left: 2px solid #000000;
+
border-top: 2px solid #000000;
+
font-family: "Arial", Helvetica, sans-serif;
+
 
}
 
}
 +
                 
 +
                  .electrons{
 +
                          position:absolute;
 +
                         
 +
                            }
 +
                            p{
 +
                                width:90%;
 +
                                padding-right:5%;
 +
                                padding-left:5%;
 +
                                }
  
/* Creates the container for the menu */
+
</style>
#menuContainer  {
+
<head>
float:left;
+
<link id="Stylish" rel="stylesheet" type="text/css" href="https://2015.igem.org/Team:RHIT/StyleSheet1?action=raw&ctype=text/css">
width: 134px;
+
padding: 20px 0px;
+
border-top: 14px solid #000000;
+
background-color: #606b7d;
+
}
+
  
/* Creates the container for the content */
+
<!--------JAAAAAAAAVA-------------------------------------------------------->
#contentContainer {
+
          <script>
padding-top:20px;
+
padding-right:10px;
+
margin-bottom: 20px;
+
width: 814px;
+
padding-left: 20px;
+
float: left;
+
background-color: #606b7d;
+
border-top: 14px solid #000000;
+
font-family: "Arial", Helvetica, sans-serif;
+
}
+
  
/*Set up height place holder for the banner*/
+
            function SwapStyle1(sheet) {
#bannerContainer {
+
  document.getElementById('Stylish').setAttribute('href', sheet);
height:200px;
+
margin:auto;
+
text-align:center;
+
color: #24B694;
+
}
+
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
    var Banner= document.getElementById('Banner');
 +
    var home=  document.getElementById('home');
 +
    var team=  document.getElementById('team');
 +
    var project=  document.getElementById('project');
 +
    var parts=  document.getElementById('parts');
 +
    var notebook=  document.getElementById('notebook');
 +
    var safety=  document.getElementById('safety');
  
/*Change the styling of text for everything inside main container*/
+
    var wet=  document.getElementById('Wetlab');
#mainContainer p {
+
    var design=  document.getElementById('Design');
font-size: 20px;
+
    var Protocols=  document.getElementById('Proto');
color: #efefef;
+
    var human=  document.getElementById('kids');
}
+
    var results=  document.getElementById('RES');
                   
+
    var desc=  document.getElementById('Description');
+
    var attrb=  document.getElementById('attrb');
/*This changes the color and font family */
+
#contentContainer h1, h2, h3, h4, h5, h6 {
+
color: #efefef;
+
border-bottom: none;
+
font-weight: bold;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
margin-top:10px;
+
}
+
  
/*Style of the links - links are different inside the menu */
 
#contentContainer a {
 
font-weight: bold;
 
color: #efefef;
 
                    background-color: #606b7d
 
}
 
  
  /* Styling links on hover- links are different inside the menu */
+
    Banner.src = "https://static.igem.org/mediawiki/2015/4/41/RHIT_BANNER_OFF.jpg";
#contentContainer a:hover {
+
    home.src = "https://static.igem.org/mediawiki/2015/a/ad/RHIT_OFFBUTTON_home.png";
color: #d46d30;
+
    team.src = "https://static.igem.org/mediawiki/2015/4/46/RHIT_OFFBUTTON_team.png";
}
+
    project.src = "https://static.igem.org/mediawiki/2015/4/48/RHIT_OFFBUTTON_project.png";
 +
    parts.src = "https://static.igem.org/mediawiki/2015/a/ad/RHIT_OFFBUTTON_parts.png";
 +
    notebook.src = "https://static.igem.org/mediawiki/2015/8/87/RHIT_OFFBUTTON_notebook.png";
 +
    safety.src = "https://static.igem.org/mediawiki/2015/0/03/RHIT_OFFBUTTON_safety.png";
  
/*Change the styling of tables */
+
    design.src = "https://static.igem.org/mediawiki/2015/e/eb/RHIT_DES_SUB_OFF.png";
        #contentContainer table {
+
    wet.src = "https://static.igem.org/mediawiki/2015/2/25/RHIT_WET_SUB_OFF.png";
    border: 1px solid #565656;
+
    Protocols.src = "https://static.igem.org/mediawiki/2015/e/e4/RHIT_PROTOCOL_SUB_OFF.png";
    border-collapse: collapse;
+
    human.src = "https://static.igem.org/mediawiki/2015/8/89/RHIT_HUMAN_SUB_OFF.png";
    width: 90%
+
    results.src = "https://static.igem.org/mediawiki/2015/5/5e/RHIT_RESULTS_SUB_OFF.png";
    margin: auto;
+
    desc.src = "https://static.igem.org/mediawiki/2015/e/ec/RHIT_DESC_SUB_OFF.png";
    margin-bottom: 15px;
+
    attr.src = "https://static.igem.org/mediawiki/2015/7/7c/RHIT_attributions_off.png";
    margin-top: 15px;
+
    margin-right: 10px;
+
    margin-left: 10px;
+
    }
+
  
/*Change the styling of table cells*/
+
                                      }
    #contentContainer  td {
+
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
/*Change the styling of table headers */
+
function SwapStyle2(sheet) {
    #contentContainer th {
+
  document.getElementById('Stylish').setAttribute('href', sheet);
    background-color: #E8E8E9;
+
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
 +
    var Banner= document.getElementById('Banner');
 +
    var home=  document.getElementById('home');
 +
    var team=  document.getElementById('team');
 +
    var project=  document.getElementById('project');
 +
    var parts=  document.getElementById('parts');
 +
    var notebook=  document.getElementById('notebook');
 +
    var safety=  document.getElementById('safety');
  
 +
    var Wet=  document.getElementById('Wetlab');
 +
    var des=  document.getElementById('Design');
 +
    var prot=  document.getElementById('Proto');
 +
    var human=  document.getElementById('kids');
 +
    var results=  document.getElementById('RES');
 +
    var desc=  document.getElementById('Description');
 +
    var attrb=  document.getElementById('attrb');
 +
    var Refer=  document.getElementById('Refer');
  
/*MENU STYLING */
+
    Banner.src = "https://static.igem.org/mediawiki/2015/d/d1/RHIT_BANNER_ON.jpg";
 +
    home.src = "https://static.igem.org/mediawiki/2015/f/fd/RHIT_ON_home.png";
 +
    team.src = "https://static.igem.org/mediawiki/2015/1/1f/RHIT_ON_team.png";
 +
    project.src = "https://static.igem.org/mediawiki/2015/0/05/RHIT_ON_project.png";
 +
    parts.src = "https://static.igem.org/mediawiki/2015/2/27/RHIT_ON_parts.png";
 +
    notebook.src = "https://static.igem.org/mediawiki/2015/8/84/RHIT_ON_notebook.png";
 +
    safety.src = "https://static.igem.org/mediawiki/2015/9/94/RHIT_ON_safety.png";
  
/*Styling for the links in the menu */
+
    Wet.src = "https://static.igem.org/mediawiki/2015/5/54/RHIT_SUB_WET_ON.png";
#menuContainer a {
+
    des.src = "https://static.igem.org/mediawiki/2015/9/90/RHIT_SUB_DESIGN_ON.png";
color: #efefef;
+
    prot.src = "https://static.igem.org/mediawiki/2015/8/86/RHIT_SUB_PROTO_ON.png";  
text-decoration:none;
+
    human.src = "https://static.igem.org/mediawiki/2015/6/6d/RHIT_SUB_HUMAN_ON.png";
font-weight: bold;
+
    results.src = "https://static.igem.org/mediawiki/2015/5/54/RHIT_SUB_RESULT_ON.png";
}
+
    desc.src = "https://static.igem.org/mediawiki/2015/3/35/RHIT_SUB_DESC_ON.png";
 +
    attrb.src = "https://static.igem.org/mediawiki/2015/7/7a/RHIT_Attributions_ON.png";
 +
    Refer.src = "https://static.igem.org/mediawiki/2015/7/7a/RHIT_Attributions_ON.png";
  
/* Sets the style for lists inside menuContainer  */
+
                                }
#menuContainer ul {
+
list-style: none;
+
margin-left:0px;
+
}
+
  
/*Styles the list items to become menu buttons */
+
function changecursor(id) {
#menuContainer ul li {  
+
    document.getElementById(id).style.cursor = "pointer";
text-align: center;
+
                          }                          
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
function changeColorOn(id) {
#menuContainer li:hover {
+
    document.getElementById(id).style.color= "#9CFBE4";
color:  #d46d30;
+
                          }
background-color: #64afb3;
+
}
+
  
/*Submenus are not displayed as default*/
+
function changeColorOff(id) {
#menuContainer li ul {
+
    document.getElementById(id).style.color= "#DBA246";
display: none;
+
                          }
padding-top:15px;
+
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
+
          function playSound(el,soundfile) {
#menuContainer li:hover ul {
+
              if (el.mp3) {
/*display: inline-block; */
+
                  if(el.mp3.paused) el.mp3.play();
display: block;  
+
                  else el.mp3.pause();
position: absolute;
+
              } else {
float:right;
+
                  el.mp3 = new Audio(soundfile);
margin-left: 134px;
+
                  el.mp3.play();
margin-top:-42px;
+
                      }
}
+
                            }
 +
</script>
  
/*Style the submenu buttons*/
 
#menuContainer li ul li{
 
background-color: #64afb3;
 
padding-left:20px;
 
padding-right:20px;
 
height:30px;
 
padding-top:10px;
 
margin-top:-2px;
 
color: #d46d30;
 
width: 150px;
 
}
 
  
/*CLASSES */
+
<!------------------------------------------------JQuery----------------------------------------------------------------------->
 +
<script>
 +
$(document).ready(function(){
  
/*Clear class for all the pages, adds spacing too*/
+
.clear{
+
/*---------Slide toggle---------*/
clear:both;
+
  $("#slide").click(function() {
height: 10px;
+
      $("#text").slideToggle(500);
}
+
                              });
  
 +
    $("#slide2").click(function() {
 +
      $("#text2").slideToggle(500);
 +
                              });
  
/* highlight box for special messages */
+
    $("#slide3").click(function() {
    .highlightBox {
+
      $("#text3").slideToggle(500);
        width:500px;
+
                              });
        margin:auto;
+
        background-color: #E8E8E9;  
+
      $("#slide4").click(function() {
margin-bottom: 15px;
+
      $("#text4").slideToggle(500);
margin-top: 15px;
+
                              });
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
 +
      $("#slide5").click(function() {
 +
      $("#text5").slideToggle(500);
 +
                              });
  
</style>
+
      $("#slide6").click(function() {
<!-- End of CSS -->
+
      $("#text6").slideToggle(500);
 +
                              });
  
 +
        $("#slide7").click(function() {
 +
      $("#text7").slideToggle(500);
 +
                              });
  
 +
      $("#slide8").click(function() {
 +
      $("#text8").slideToggle(500);
 +
                              });
 +
 +
      $("#slide9").click(function() {
 +
      $("#text9").slideToggle(500);
 +
                              });
 +
 +
      $("#slide10").click(function() {
 +
      $("#text10").slideToggle(500);
 +
                              });
 +
 +
function electronUno() {
 +
        $("#electron1").css({left:0,top:0});
 +
        $("#electron1").show().animate({left:50,top:50},500, 'linear').animate({left:120,top:100},500, 'linear').animate({left:195,top:149},500, 'linear').animate({left:270,top:185},500, 'linear').animate({left:345,top:207},500, 'linear').animate({left:445,top:223},500, 'linear').animate({left:567,top:229},500, 'linear').animate({left:660,top:217},500, 'linear').animate({left:788,top:182},500, 'linear').animate({left:905,top:117},500, 'linear').animate({left:983,top:67},500, 'linear').animate({left:1035,top:0},500, 'linear').animate({left:0,top:0},0,electronUno);
 +
                          }
 +
 +
function electronDos() {
 +
        $("#electron2").css({left:270,top:185});
 +
        $("#electron2").show().animate({left:345,top:207},500, 'linear').animate({left:445,top:223},500, 'linear').animate({left:567,top:229},500, 'linear').animate({left:660,top:217},500, 'linear').animate({left:788,top:182},500, 'linear').animate({left:905,top:117},500, 'linear').animate({left:983,top:67},500, 'linear').animate({left:1035,top:0},500, 'linear').animate({left:0,top:0},0, 'linear').animate({left:50,top:50},500, 'linear').animate({left:120,top:100},500, 'linear').animate({left:195,top:149},500, 'linear').animate({left:270,top:185},500,'linear',electronDos);
 +
                          }
 +
 +
function electronTres() {
 +
        $("#electron3").css({left:660,top:217});
 +
        $("#electron3").show().animate({left:788,top:182},500, 'linear').animate({left:905,top:117},500, 'linear').animate({left:983,top:67},500, 'linear').animate({left:1035,top:0},500, 'linear').animate({left:0,top:0},0, 'linear').animate({left:50,top:50},500, 'linear').animate({left:120,top:100},500, 'linear').animate({left:195,top:149},500, 'linear').animate({left:270,top:185},500, 'linear').animate({left:345,top:207},500, 'linear').animate({left:445,top:223},500, 'linear').animate({left:567,top:229},500, 'linear').animate({left:660,top:217},500,'linear',electronTres);
 +
                          }
 +
function submenunote(){
 +
          $("#Des").fadeToggle();
 +
          $("#Wet").fadeToggle();
 +
          $("#Prot").fadeToggle();
 +
          $("#ref").fadeToggle();
 +
                      }
 +
 +
function submenuproj(){
 +
          $("#Desc").fadeToggle();
 +
          $("#Results").fadeToggle();
 +
          $("#Human").fadeToggle(); 
 +
          $("#who").fadeToggle();         
 +
                      }
 +
 +
 +
function hide() {
 +
        $("#electron1").hide();
 +
        $("#electron2").hide();
 +
        $("#electron3").hide();
 +
        $("#electron1").stop(true,false);
 +
        $("#electron2").stop(true,false);
 +
        $("#electron3").stop(true,false);
 +
        $("*").stop(true,false);
 +
                  }
 +
 +
          $(document).ready(electronUno).ready(electronDos).ready(electronTres);
 +
 +
          $("#notebook").click(submenunote);
 +
          $("#project").click(submenuproj);
 +
 +
 +
});
 +
 +
 
 +
</script>
 +
 +
</head>
 +
 +
<body>
 
<!--- Start of the template html elements. ------------------------------------------------------------------------------------------>
 
<!--- Start of the template html elements. ------------------------------------------------------------------------------------------>
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
 
  
 +
<div id="globalWrapper">
 
<div id="bannerContainer">
 
<div id="bannerContainer">
    <img src="https://static.igem.org/mediawiki/2015/d/dc/Team_RHIT_wikibanner.jpg" alt="Team_RHIT_Banner" width="980px" hieght="200">
+
        <img id="Banner" src="https://static.igem.org/mediawiki/2015/d/da/RHIT_BANNER.jpg">
</div>
+
  
<!-- Start of menu -->
+
        <img class="electrons" id="electron1" src="https://static.igem.org/mediawiki/2015/f/fe/RHIT_electron.png">
<div id="menuContainer">
+
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
        <img class="electrons" id="electron2" src="https://static.igem.org/mediawiki/2015/f/fe/RHIT_electron.png">
<ul>
+
<a href="https://2015.igem.org/Team:RHIT"><li>HOME</li></a>
+
        <img class="electrons" id="electron3" src="https://static.igem.org/mediawiki/2015/f/fe/RHIT_electron.png">
 +
 +
       
 +
  <!----------- framework buttons --------->
 +
 
 +
    <a class="home1" href="https://2015.igem.org/Team:RHIT">
 +
      <img id="home" src="https://static.igem.org/mediawiki/2015/a/ad/RHIT_OFFBUTTON_home.png">
 +
    </a>
 +
    <a class="team1" href="https://2015.igem.org/Team:RHIT/Team">
 +
      <img id="team" src="https://static.igem.org/mediawiki/2015/4/46/RHIT_OFFBUTTON_team.png">
 +
    </a>
  
<a href="https://2015.igem.org/Team:RHIT/Team"><li>TEAM</li></a>
+
      <img class="project1" id="project" src="https://static.igem.org/mediawiki/2015/4/48/RHIT_OFFBUTTON_project.png">
  
<a href="#"><li>PROJECT
 
            <ul>
 
<a href="https://2015.igem.org/Team:RHIT/Description"><li>Description</li></a>
 
<a href="https://2015.igem.org/Team:RHIT/Experiments"><li>Experiments &amp; Protocols</li></a> 
 
<a href="https://2015.igem.org/Team:RHIT/Results"><li>Results</li></a> 
 
<a href="https://2015.igem.org/Team:RHIT/Design"><li>Design</li></a>
 
</ul>
 
</li></a>
 
  
<a href="#"><li>PARTS
+
      <a class="ProjectSubDesc" id="Desc" href="https://2015.igem.org/Team:RHIT/Description">  
            <ul>
+
      <img id="Description" src="https://static.igem.org/mediawiki/2015/e/ec/RHIT_DESC_SUB_OFF.png">
<a href="https://2015.igem.org/Team:RHIT/Parts"><li>Team Parts</li></a>
+
      </a>
<a href="https://2015.igem.org/Team:RHIT/Basic_Part"><li>Basic Parts</li></a>
+
    <a class="ProjectSubResults" id="Results" href= "https://2015.igem.org/Team:RHIT/Results">
<a href="https://2015.igem.org/Team:RHIT/Composite_Part"><li>Composite Parts</li></a>
+
      <img id="RES" src="https://static.igem.org/mediawiki/2015/5/5e/RHIT_RESULTS_SUB_OFF.png">
<a href="https://2015.igem.org/Team:RHIT/Part_Collection"><li>Part Collection</li></a> 
+
    </a>  
</ul>
+
    <a class="ProjectSubHuman" id="Human" href="https://2015.igem.org/Team:RHIT/Practices">
</li></a>
+
      <img id="kids" src="https://static.igem.org/mediawiki/2015/8/89/RHIT_HUMAN_SUB_OFF.png">
 +
    </a>
 +
    <a class="ProjectSubAttr" id="who" href="https://2015.igem.org/Team:RHIT/Attributions">
 +
      <img id="attrb" src="https://static.igem.org/mediawiki/2015/7/7c/RHIT_attributions_off.png">
 +
    </a>
  
<a href="https://2015.igem.org/Team:RHIT/Notebook"><li>NOTEBOOK</li></a>
 
     
 
<a href="https://2015.igem.org/Team:RHIT/Attributions"><li>ATTRIBUTIONS</li></a>
 
  
<a href="https://2015.igem.org/Team:RHIT/Collaborations"><li>COLLABORATIONS</li></a>
+
    <a class="parts1" href="https://2015.igem.org/Team:RHIT/Parts">
 +
      <img id="parts" src="https://static.igem.org/mediawiki/2015/a/ad/RHIT_OFFBUTTON_parts.png">
 +
    </a>
 +
 
 +
      <img class="notebook1" id="notebook" src="https://static.igem.org/mediawiki/2015/8/87/RHIT_OFFBUTTON_notebook.png">
 +
   
  
<a href="https://2015.igem.org/Team:RHIT/Practices"><li>HUMAN PRACTICES</li></a>
+
    <a class="notebook" id="Des" href="https://2015.igem.org/Team:RHIT/DesignNotebook">
 +
      <img id="Design" src="https://static.igem.org/mediawiki/2015/e/eb/RHIT_DES_SUB_OFF.png">
 +
    </a>
 +
    <a class="notebook" id="Wet" href="https://2015.igem.org/Team:RHIT/Notebook">
 +
      <img id="Wetlab" src="https://static.igem.org/mediawiki/2015/2/25/RHIT_WET_SUB_OFF.png">
 +
    </a>
 +
    <a class="notebook" id="Prot" href="https://2015.igem.org/Team:RHIT/Protocol">
 +
        <img id="Proto" src="https://static.igem.org/mediawiki/2015/archive/e/e4/20150918051649%21RHIT_PROTOCOL_SUB_OFF.png">
 +
    </a>
 +
    <a class="notebook" id="ref" href="https://2015.igem.org/Team:RHIT/References">
 +
        <img id="Refer" src="https://static.igem.org/mediawiki/2015/b/b3/RHIT_REFERENCES.png">
 +
    </a>
  
<a href="https://2015.igem.org/Team:RHIT/Safety"><li>SAFETY</li></a>
+
    <a class="safety1" id="safety" href="https://2015.igem.org/Team:RHIT/Safety">
 +
      <img id="safety" src="https://static.igem.org/mediawiki/2015/0/03/RHIT_OFFBUTTON_safety.png">
 +
    </a>
  
<!--possibly wont be kept--> <a href="https://2015.igem.org/Team:RHIT/Modeling"><li>MODELING</li></a>
+
  <!--------- on/off buttons---------->
  
<!--possibly wont be kept-->    <a href="https://2015.igem.org/Team:RHIT/Measurement"><li>MEASUREMENT</li></a>
+
      </div>
  
<!--possibly wont be kept--> <a href="https://2015.igem.org/Team:RHIT/Software"><li>SOFTWARE</li></a>
+
<div id ="mainContainer" >
  
<!--possibly wont be kept--> <a href="https://2015.igem.org/Team:RHIT/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
<!-- Start of content -->
 +
      <div id="contentContainer">
  
</ul>
 
</div>
 
<!-- End of menu  -->
 
  
<!-- Start of content -->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
 
</html>
 
</html>

Latest revision as of 21:55, 18 September 2015