Difference between revisions of "Team:Dundee Schools"

Line 1: Line 1:
 
<html>
 
<html>
<!--iGEM HS Wiki HTML:Home-->
 
<!--Darryl Sime, started 23/6/16-->
 
  
<head>
+
<style>
  <title>Dundee Schools: Home</title>
+
 
 +
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 +
 
 +
#sideMenu, #top_title {display:none;}
 +
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
 +
body {background-color:white; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 +
 
 +
/********************************* MENU ********************************/
 +
/* Wrapper for the menu */
 +
.menu_wrapper {
 +
width:150px;
 +
height:100vh;
 +
position:fixed;
 +
padding:0px;
 +
float:left;
 +
background-color:#f2f2f2;
 +
text-align:left;
 +
}
 +
 
 +
/* styling for the menu items */
 +
.menu_item {
 +
width:100%;
 +
margin:-2px 0px 0px -20px;
 +
padding: 10px 10px; 
 +
border-bottom: 1px solid #d3d3d3;
 +
font-weight:bold;
 +
color:#000000;
 +
cursor: pointer;
 +
}
 +
 
 +
/* when hovering on a menu item */
 +
.menu_item:hover {
 +
color:#000000;
 +
background-color: #72c9b6;
 +
}
 +
 
 +
/* decoration icon for the menu buttons*/
 +
.icon {
 +
float:right; 
 +
font-size:16px;
 +
font-weight:bold;
 +
}
 +
 +
/* this is the icon for when the content is collapsed */
 +
.plus::before {
 +
content: "+";
 +
}
 +
/* this is the icon for when the content is expanded */
 +
.less::before {
 +
content: "–";
 +
}
 +
 
 +
/* styling for the ul that creates the buttons */
 +
ul.menu_items {
 +
width:100%;
 +
margin-left:0px;
 +
padding:0px;
 +
list-style: none;
 +
}
 +
 
 +
/* styling for the li that are the menu items */
 +
.menu_items li {
 +
width:90%;
 +
margin-top:-2px;
 +
padding: 15px 0px 15px 15px ;
 +
display:block;
 +
border-bottom: 1px solid #d3d3d3; 
 +
text-align:left;
 +
font-weight:bold;
 +
text-decoration:none;
 +
color:#000000;
 +
list-style-type:none;
 +
cursor:pointer;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease; transition: all 0.4s ease; 
 +
}
 +
 
 +
.menu_item a {
 +
width: 100%;
 +
margin-left: -20px;
 +
padding: 11px 90px 12px 20px;
 +
text-decoration: none;
 +
color:black;
 +
}
 +
 
 +
/* When hovering on a menu item */
 +
.menu_items li:hover {
 +
background-color:#72c9b6;
 +
color: #000000;
 +
}
 +
 
 +
/* styling for the submenus */
 +
.submenu {
 +
width:100%;
 +
display: none; 
 +
font-weight:bold;
 +
cursor:pointer;
 +
 
 +
}
 +
 
 +
/* moving the margin for the submenu ul list */
 +
ul.submenu {
 +
width: 100%;
 +
margin: 10px 0px -11px 0px;
 +
list-style: none;
 +
}
 +
 
 +
/*styling for the submenu buttons */
 +
.submenu li {
 +
width: 100%;
 +
margin-left: 10px;
 +
margin-bottom: 0px;
 +
}
 +
 
 +
 
 +
/* hover state for the submenu buttons */
 +
.submenu li a {
 +
width: 100%;
 +
padding: 5px 10px;
 +
display: inline-block;
 +
border-bottom: 1px solid #d3d3d3;
 +
background-color:white;
 +
text-decoration:none;
 +
color:#000000;
 +
}
 +
 
 +
 
 +
 
 +
.submenu li a:hover  {
 +
background-color:#000000;
 +
color: #72c9b6;
 +
}
 +
 
 +
 
 +
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
 +
.collapsable_menu_control {
 +
width:100%;
 +
padding: 15px 0px;
 +
display:none;
 +
background-color:#000000;
 +
text-align:center; 
 +
font-weight:bold;
 +
color:#72c9b6;
 +
cursor:pointer;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;
 +
}
 +
 
 +
/* when hovering on that button */
 +
.collapsable_menu_control:hover {
 +
background-color: #72c9b6;
 +
color:#000000; 
 +
}
 +
 
 +
/********************************* CONTENT OF THE PAGE ********************************/
 +
 
 +
/* Wrapper for the content */
 +
.content_wrapper {
 +
width: 85%;
 +
margin-left:150px;
 +
padding:10px 0px;
 +
float:left;
 +
background-color:white;
 +
}
 +
 
 +
/*LAYOUT */
 +
.column  {
 +
padding: 10px 0px;
 +
float:left;
 +
background-color:white;
 +
}
 +
 
 +
.full_size {
 +
width:100%;
 +
}
 +
 
 +
.full_size img {
 +
padding: 10px 15px;
 +
width:96.5%;
 +
}
 +
 
 +
.half_size {
 +
width: 50%;
 +
}
 +
.half_size img {
 +
padding: 10px 15px;
 +
width: 93%;
 +
}
 +
 
 +
 
 +
.clear {
 +
clear:both;
 +
}
 +
 
 +
.highlight {
 +
width: 90%;
 +
margin: auto;
 +
padding: 15px 5px;
 +
background-color: #f2f2f2;
 +
}
 +
 
 +
.judges-will-not-evaluate {
 +
border: 4px solid #72c9b6;
 +
display: block;
 +
margin: 5px 15px;
 +
width: 95%;
 +
font-weight:bold;
 +
}
 +
 
 +
 
 +
/*STYLING */
 +
 
 +
/* styling for the titles */
 +
.content_wrapper h1, .content_wrapper h2 {
 +
padding:5px 15px;
 +
border-bottom:0px;
 +
color:#72c9b6;
 +
 
 +
}
 +
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
 +
padding:5px 15px;
 +
border-bottom:0px;
 +
color: #000000; 
 +
}
 +
 
 +
 
 +
/* font and text */
 +
.content_wrapper p {
 +
padding:0px 15px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 
 +
/* Links */
 +
.content_wrapper a {
 +
font-weight: bold;
 +
text-decoration: underline;
 +
text-decoration-color:#72c9b6;
 +
color: #72c9b6;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;
 +
}
 +
 
 +
/* hover for the links */
 +
.content_wrapper a:hover {
 +
text-decoration:none;
 +
color:#000000;
 +
}
 +
 
 +
/* non numbered lists */
 +
.content_wrapper ul {
 +
padding:0px 20px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 
 +
/* numbered lists */
 +
.content_wrapper ol {
 +
padding:0px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 
 +
/* Table */
 +
.content_wrapper table {
 +
width: 97%;
 +
margin:15px 10px;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
}
 +
 
 +
/* table cells */
 +
.content_wrapper  td {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
}
 +
 
 +
/* table headers */
 +
.content_wrapper th {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
background-color:#f2f2f2;
 +
}
 +
 
 +
/* Button class */
 +
.button_click {
 +
margin: 10px auto;
 +
padding: 15px; width:12%; 
 +
text-align:center;
 +
font-weight:bold;
 +
background-color: #72c9b6;
 +
cursor:pointer; 
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;
 +
}
 +
 
 +
/* button class on hover */
 +
.button_click:hover { 
 +
background-color:#000000;
 +
color:#72c9b6;
 +
}
 +
 
 +
/********************************* RESPONSIVE STYLING ********************************/
 +
 
 +
/* IF THE SCREEN IS LESS THAN 1000PX */
 +
 
 +
@media only screen and (max-width: 1000px) {
 +
 
 +
#content {width:100%; }
 +
.menu_wrapper {width:15%;}
 +
.content_wrapper {margin-left: 15%;}
 +
.menu_item {display:block;}
 +
.icon {display:none;}
 +
.highlight {padding:10px 0px;}
 +
}
 +
 
 +
 
 +
/* IF THE SCREEN IS LESS THAN 680PX */
 +
 
 +
@media only screen and (max-width: 680px) {
 +
.collapsable_menu_control { display:block;}
 +
.menu_item {display:none;}
 +
.menu_wrapper { width:100%; height: 15%; position:relative;}
 +
.content_wrapper {width:100%; margin-left:0px;}
 +
.column.half_size {width:100%; }
 +
.column img { width: 100%; padding: 5px 0px;}
 +
.icon {display:block;}
 +
.highlight {padding:15px 5px;}
 +
}
 +
 
 +
</style>
 +
 
 +
 
 +
 
 +
 
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
 +
 
 +
 
 +
<!-- This tells the browser that your page is responsive -->
 +
 
 +
<head>
 +
<meta name="viewport" content="width=device-width, initial-scale=1">  
 
</head>
 
</head>
  
<body>
 
  <!--CSS-->
 
  <style>
 
    *{
 
font-family:Helvetica;
 
    }
 
  
    body {
 
padding:0em;
 
margin:0em;
 
background-color:#ACBEE2;
 
overflow-y:scroll;
 
overflow-x:hidden;
 
    }
 
  
    #home_bar {
 
background-color:#046836;
 
width:100em;
 
height:4em;
 
float:left;
 
margin-top:0em;
 
margin-left:-20em
 
position:fixed;
 
border-top:1px solid black;
 
border-bottom:1px solid black;
 
z-index:10;
 
    }
 
  
    .nav_links {
+
<div class="menu_wrapper" >
background-color:#046836;
+
width:13.5em;
+
height:3.25em;
+
float:left;
+
position:fixed;
+
border-top:1px solid black;
+
border-bottom:1px solid black;
+
color:white;
+
z-index:3;
+
    }
+
  
    .nav_links > a,a:link, a:visited {
 
text-decoration:none;
 
color:white;
 
    }
 
  
    .nav_links > a,a:hover {
 
font-style:oblique;
 
    }
 
  
    #team {
 
margin-top:4em;
 
    }
 
  
    #project {
+
<div class="collapsable_menu_control"> MENU ▤ </div>
margin-top:7.25em;
+
    }
+
  
    #parts {
+
<ul id="accordion" class="accordion">
margin-top:10.5em;
+
    }
+
  
    #safety {
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Dundee_Schools">HOME </a> </li>
margin-top:13.75em;
+
    }
+
  
    #attributions {
 
margin-top:17em;
 
    }
 
   
 
    #outreach {
 
margin-top:20.25em;
 
    }
 
  
    #awards {
+
<li class="menu_item"> <div class="icon plus"></div> TEAM
margin-top:23.5em;
+
<ul class="submenu">
    }
+
<li> <a href=" https://2016.igem.org/Team:Dundee_Schools/Team"> Team  </a> </li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Collaborations">★  Collaborations </a> </li>
 +
                    </ul>
 +
                </li>
  
    .nav_links > p {
+
<li class="menu_item"> <div class="icon plus"></div> PROJECT 
margin-left:.9em;
+
<ul class="submenu">
font-weight:bold;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Description"> ★  Description </a></li>
    }
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Design"> ★ Design </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Experiments"> Experiments </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Proof"> ★ Proof of Concept </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Demonstrate"> ★ Demonstrate </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Results"> Results </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Notebook"> Notebook </a></li>
 +
                    </ul>
 +
                </li>
  
    #home_icon {
+
<li class="menu_item"> <div class="icon plus"></div> PARTS 
margin-left:.4em;
+
<ul class="submenu">
position:fixed;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Parts">Parts </a></li>
    }
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Basic_Part"> ★ Basic Parts </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Composite_Part"> ★ Composite Parts </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Part_Collection"> ★ Part Collection </a></li>
 +
                    </ul>
 +
                </li>
  
    #description_backing {
 
width:13.5em;
 
height:200em;
 
background-color:#d0d9e1;
 
margin-top:-50em;
 
position:fixed;
 
z-index:2;
 
  
    }
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Dundee_Schools/Safety"> SAFETY </a> </li>
  
    #description_backing > h3 {
 
float:left;
 
margin-top:8.8em;
 
margin-left:.2em;
 
position:fixed;
 
    }
 
  
 +
<li class="menu_item"> <a href="https://2016.igem.org/Team:Dundee_Schools/Attributions">★  ATTRIBUTIONS </a></li>
  
    #description_backing > p {
 
margin-left:.25em;
 
margin-top:12em;
 
float:left;
 
z-index:3;
 
width:13em;
 
position:fixed;
 
    }
 
  
    #banner {
+
<li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES
top:;
+
<ul class="submenu">
margin-left:8.8em;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Human_Practices"> Human Practices </a></li>
width:70em;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/HP/Silver">★ Silver </a></li>
height:24em;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/HP/Gold">★ Gold </a></li>
position:relative;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Integrated_Practices"> ★ Integrated Practices </a></li>
z-index:1;
+
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Engagement">★ Engagement </a></li>
    }
+
                    </ul>
 +
                </li>
  
    #project_description {
 
margin-top:.1em;
 
margin-left:14.25em;
 
width:80em;
 
background-color;
 
    }
 
  
    #project_description > p {
+
<li class="menu_item"> <div class="icon plus"></div> AWARDS
margin-top:-.9em;
+
<ul class="submenu">
    }
+
<li><a href="https://2016.igem.org/Team:Dundee_Schools/Entrepreneurship"> ★ Entrepreneurship </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Hardware"> ★ Hardware </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Software">★ Software </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Measurement">★  Measurement </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Dundee_Schools/Model">★ Model </a></li>
  
    #left_text {
+
                    </ul>
height:20em;
+
                </li>
width:27em;
+
</ul>
display:inline-block;
+
margin-left:16em;
+
margin-right:2.5em;
+
position:absolute;
+
    }
+
    #left_text > h3 {
+
margin-left:0em;
+
margin-bottom:.0001em;
+
    }
+
    #left_text > p {
+
width:26em;
+
margin-top:.3em;
+
    }
+
  
    #right_text {
+
</div>
height:20em;
+
width:27em;
+
margin-left:44.9em;
+
display:inline-block;
+
    }
+
    #right_text > h3 {
+
margin-left:0em;
+
margin-bottom:.0001em;
+
    }
+
    #right_text > p {
+
width:26em;
+
margin-top:.3em;
+
    }
+
  
  
  </style>
 
  
  
  
  <!--HTML-->
+
<div class="content_wrapper">
 +
 
 +
 
 +
 
 +
<h1 id="team_name">  </h1>
 +
<h4 id="page_name"> </h4>
 +
 
  
<!--Navigation menu-->
 
  <div id="home_bar">
 
  <a href="https://2016.igem.org/Team:Dundee_Schools"><img id="home_icon" src="https://lh3.googleusercontent.com/h_I9eWjQHEAjgeabT5vA-cWHPPC8VDQHQdeR9BQHvr2jGvU8rK92ogUMVYWko-ZoIhLNLV9rwpR9xjHIjKchQv5LjSSkuKrjFPxv_Ca8jTcHKUfOuXNXQyUbpguD0PTCHmHdcnEmCmQsdnNr-RNNvNC16DMlijC8mkRc_fj4-o_W3YMTKJL77Wckc1GEwctdOZZrATkkkXGP5fkcN4seAUV-lS2bO0HSsx8sU3VOHaza9ifdvTMaSjxkHhbMEy93xBgbVmboB6aneQTm0WUJ_z4wR8S9pBlqGlMbP_9TMVpqJL6QgWxIMkznzHjm9zg2S7e_ji45PSp9PHunxU8GkynPcqqr1bOJWii5GFCIsr2vLYzdItbIPjdmHEkJAVMQ2E56SN44yeYi0zSQUALaqdxZbE5k4PB-0Y4opZjcF9gp3yoynN7ESZVY-O4UyhYsc6aPwh75o83_qOV7kXw1bDQjYMrhX2asXlZB5cgXNia8SQdL8kiCrZmcElh14DUJ4Y1JybQvIwDDgZzADoNVwPMxf3lRFoixdPBt1m74yrrT9zwKVGTljMg3vJsT_sc9MiMSrIMrP8dwkkwW0IwxzmZPDe83VYY=s64-no" float="left"/> </a>
 
  </div>
 
  <div class="nav_links" id="team">
 
  <a href="https://2016.igem.org/Team:Dundee_Schools/Team"><p>Team</a></p>
 
  </div>
 
  <div class="nav_links" id="project">
 
  <p>Project</p>
 
  </div>
 
  <div class="nav_links" id="parts">
 
  <p>Parts</p>
 
  </div>
 
  <div class="nav_links" id="safety">
 
  <p>Safety</p>
 
  </div>
 
  <div class="nav_links" id="attributions">
 
  <p>Attributions</p>
 
  </div>
 
  <div class="nav_links" id="outreach">
 
  <p>Outreach</p>
 
  </div>
 
  <div class="nav_links" id="awards">
 
  <p>Awards</p>
 
  </div>
 
  
<!--Banner-->
 
  <img src="https://lh3.googleusercontent.com/CFlH3L79m4tvb54JCGlqCdDPWpk9zDMdUnPjSHxSVdf5Jl_Eh91ZnmAnDgH2uvAP5-Dkjy4MBzp0gvzm09DvqU1IWSkg7B3VpFUTvVjkcTgxTYP7fm499U_zCroZQINbQwvnUkbltPjAGqXaKgKckMoQG3dQ_iDXDdT8TBFiQfTAuKwOL-iXbE2sYa9JV9ZBtZlnh46hvMXUEVuZD1vZxGPmUnSsCy1-JaKlhd7RbDEEfqfzPezVJqwaPgZeyGED0I203a5hfXMNsCF6OnLjgOz0mLiAyBAdGUo-hvSl3fJc7f3pIxtsdKybpcvysll_3IWygVLD8RAkjtlpD_-pIlzZmIvOLvPemjAGau-BHHST_joXeXh7LDzc7bJ0_k_nFRbPrc3Wd_-bL5amsr7T-hOjF4dRuZCMk0aUyKaQ4eZTjjXsqP1SLI5PnncWKsTXXn4YvRbwDCPiIG6lCR-mDYYbtNmW4QJRbmQEMprwAFIpp02f4ySNSozgOHtjI2Q8dEszCj48U4LE7WtMABmGZ0-E_A0ECjJTY928blqAODHKk_TmXX1BXZEMO3dzYruUtH5qAgBh6o9YWU99otnUIPD7-X034yY=w1280-h436-no" id="banner"/>
 
  
  
  
<!--Main body-->
 
<div id="project_description">
 
  <h2>Project Description</h2>
 
  <p>Every month running from February 2016 our team attended monthly meetings to discuss our project and brainstorm ideas, allowing us to talk about what we would like to work on throughout the summer. During these meetings we all came up with various ideas and eventually managed to narrow it down to the idea of targeting water-borne bacterial infections affecting developing countries. <br></br>
 
      Two of the main bacterial infections caught in these countries are shigellosis and cholera; shigellosis is an infection caused by the bacterium <em>Shigella</em> and cholera by <em>Vibrio cholerae</em>. Both are usually caught by ingesting water or food contaminated with the respective bacteria and both conditions also have similar symptoms; 163 million cases of shigellosis are recorded annually in third-world countries, 1 million of which proving fatal. In addition, cholera causes around 100 000 deaths in these countries per year.<br></br>
 
      We have decided to combat these infections by using RNA interference; this will hopefully be a cheaper, faster and more accessible solution than current cures. Since beginning our project full-time in June, the dry team have contacted various individuals and charities to get a range of opinions on our proposed method and have started developing the wiki; meanwhile, the wet team have begun work in the lab.</p>
 
</div>
 
  
<div id="left_text">
 
  <h3>Sloppy Jaloppy</h3>
 
  <p>According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway because bees don't care what humans think is impossible. Yellow, black. Yellow, black. Yellow, black. Yellow, black. Ooh, black and yellow! Let's shake it up a little. Barry! Breakfast is ready! Ooming! Hang on a second. Hello? Barry? Adam? Oan you believe this is happening? I can't. I'll pick you up. Looking sharp. Use the stairs. Your father paid good money for those.</p>
 
</div>
 
<div id="right_text">
 
  <h3>Rusty Pipe</h3>
 
  <p>Sorry. I'm excited. Here's the graduate. We're very proud of you, son. A perfect report card, all B's. Very proud. Ma! I got a thing going here. You got lint on your fuzz. Ow! That's me! Wave to us! We'll be in row 118,000. Bye! Barry, I told you, stop flying in the house! Hey, Adam. Hey, Barry. Is that fuzz gel? A little. Special day, graduation. Never thought I'd make it. Three days grade school, three days high school. Those were awkward. Three days college. I'm glad I took a day and hitchhiked around the hive. You did come back different. Hi, Barry. Artie, growing a mustache? Looks good. Hear about Frankie? Yeah. You going to the funeral? No, I'm not going. Everybody knows, sting someone, you die. Don't waste it on a squirrel. Such a hothead. I guess he could have just gotten out of the way.</p>
 
</div>
 
  
<!--Sidebar-->
 
  <div id="description_backing">
 
  <h3>okapsjd jnakjdnk</h3>
 
    <p>kkkkkk nnnnnsja jjjjjw jjjjjjjs nnnn jjjjjjjk iiiiiiiio kkkkkkkkkk jjjjjjjj nnnnnn nnnn kkso ok oklklklk lklklk lklklkl lklk popop po sjnsjn jnjnjn jnjn njnj</p>
 
  </div>
 
</body>
 
  
 
<script>
 
<script>
if( ($(location).attr('href')).indexOf("submit") >= 0  ) {
+
 
$(".menu_wrapper").css( { "position": "absolute", "height": "auto"});
+
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
$("#wpTextbox1").css( 'margin-top', '440px');
+
 
 +
$(document).ready(function() {
 +
 
 +
$("#HQ_page").attr('id','');
 +
 +
 
 +
if ( wgPageName.substring( 0,  8) == "Template") {  // if the page is a template it displays the full name in a single line
 +
$("#team_name").html( wgPageName );  
 
}
 
}
 +
 +
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 +
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
 +
}
 +
 +
else {
 +
// this adds the team's name as an h1
 +
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
 +
 +
// this adds the page's title as an h4
 +
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 +
}
 +
 +
 +
 +
 +
$('#accordion').find('.menu_item').click(function(){
 +
 +
//Expand or collapse this panel
 +
submenu = $(this).find('.submenu');
 +
submenu.toggle();
 +
 +
icon = $(this).find('.icon');
 +
 +
if ( !$( submenu ).is(':visible') ) {
 +
icon.removeClass("less").addClass("plus");
 +
}
 +
else {
 +
icon.removeClass("plus").addClass("less");
 +
}
 +
 +
//Hide the other panels
 +
$(".submenu").not(submenu).hide();
 +
$(".icon").not(icon).removeClass("less").addClass("plus");
 +
});
 +
 +
 +
$(".collapsable_menu_control").click(function() {
 +
$(".menu_item").toggle();
 +
});
 +
 +
$( window ).resize(function() {
 +
$(".menu_item").show();
 +
});
 +
 +
 +
});
 +
 +
 +
 +
 
</script>
 
</script>
 +
 +
 
</html>
 
</html>

Revision as of 11:15, 11 July 2016