Difference between revisions of "Team:Exeter"

 
(236 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{Exeter}}
 
<html>
 
<html>
  
 +
<script src="https://2015.igem.org/Team:Exeter/bpopup/assets/jquery-bpopup-0-11-0-min-js?action=raw&amp;ctype=text/javascript"></script>
 +
<!--<script src="assets/jquery.easing.1.3.js"></script>
 +
<script src="assets/scripting.min.js"></script>-->
  
<head>
+
<style type="text/css">
     <title> Exeter iGEM 2015 </title>
+
#wrapper, #infographic, .block {
</head>
+
     width:100%;
 +
}
 +
#wrapper {
 +
    margin:0;
 +
}
 +
#infographic {
 +
    margin-top:35px;
 +
    position: relative;
 +
    display: inline-block;
 +
}
  
<body>
+
#element_to_pop_up {
     <!--Navigation Bar-->
+
     background-color:#fff;
     <div class="nav">
+
    border-radius:15px;
      <div class="container">
+
     color:#000;
        <div class="pull-left">
+
    display:none;
          <!--logo-->
+
    padding:20px;
  <img src=''/>
+
    min-width:400px;
        </div>
+
    min-height: 180px;
        <ul class="pull-right">
+
}
          <li><a href="https://2015.igem.org/Team:Exeter">Home</a></li>
+
.b-close{
          <li><a href="https://2015.igem.org/Team:Exeter/Team">Team</a></li>
+
    cursor:pointer;
          <li><a href="https://2015.igem.org/Team:Exeter/Description">Project</a></li>
+
    position:absolute;
  <li><a href="https://2015.igem.org/Team:Exeter/Human_Practices">Human Practices</a></li>
+
    right:10px;
  <li><a href="https://2015.igem.org/Team:Exeter/Notebook">Notebook</a></li>
+
    top:5px;
  <!--iGEM logo-->
+
}
  <li><img width="200" src="https://static.igem.org/mediawiki/2015/b/b5/Exeter_igem_logo.jpg"/></li>
+
#my-button {
        </ul>
+
    z-index: 10;
      </div>
+
    position: absolute;
     </div>
+
    top: 53px;
+
    left: 30px;
     <div class="main">
+
     border-radius: 25px;
        <img src="https://static.igem.org/mediawiki/2015/f/f7/Exeter-Exeter_Under_construction.jpg", width="600">
+
    border: 1px solid #274e13;
    </div>
+
     background: #b6d7a8;
 +
    padding: 15px;
 +
    box-shadow: 0px 0px 25px #888888;
 +
}
 +
</style>
  
    <div class="tail">
+
<script>
      <div class="container">
+
    // Semicolon (;) to ensure closing of earlier scripting
        <ul class="pull-left">
+
    // Encapsulation
            <!--logo-->
+
     // $ is assigned to jQuery
    <li><a href="https://2015.igem.org/Team:Exeter/Safety">Safety</a></li>
+
     ;(function($) {
    <li><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements">Medal Requirements</a></li>
+
        </ul>
+
        <div class="pull-right">
+
    <!--Sponsors-->
+
            <li><img src=''/></li>
+
        </div>
+
      </div>
+
     </div>
+
</body>
+
      
+
  
<!-- Start of CSS-->
+
        // DOM Ready
<style type="text/css">
+
        $(function() {
 +
            $(document).ready(function() {
 +
              $('#element_to_pop_up').bPopup();
 +
            });
 +
            // Binding a click event
 +
            // From jQuery v.1.7.0 use .on() instead of .bind()
 +
            $('#my-button').bind('click', function(e) {
  
body {
+
                // Prevents the default action to be triggered.
background: #fff;
+
                e.preventDefault();
}
+
  
.main {
+
                // Triggering bPopup when click event is fired
  margin-left: 400px;
+
                $('#element_to_pop_up').bPopup();
  margin-right: auto;
+
  margin-bottom: 50px;
+
  padding: 20px;
+
}
+
  
.nav li, .tail li {
+
            });
display: inline;
+
text-decoration: none;
+
font-size: 30px;
+
font-family: Impact, serif;
+
padding: 10px;
+
}
+
  
.tail {
+
        });
clear: both;
+
float: bottom;
+
}
+
  
.pull-left {
+
    })(jQuery);
float: left;
+
</script>
}
+
  
.pull-right {
+
<script>
float: right;
+
var myVideo = document.getElementById("video1");  
}
+
  
  .firstHeading {
+
function playPause() {  
     display: none;
+
     if (myVideo.paused)
  }
+
        myVideo.play();
 +
    else
 +
        myVideo.pause();  
 +
}  
  
  #globalWrapper, #content {
+
function makeBig() {  
     background-color: transparent;
+
     myVideo.width = 560;  
     border: 0px;
+
}
     float: center;
+
 
     width: 99.5%;
+
function makeSmall() {
    margin-left:auto;
+
     myVideo.width = 320;  
     margin-right:auto;
+
}
     padding-top: -5px;
+
 
   }
+
function makeNormal() {
 +
     myVideo.width = 420;  
 +
}
 +
</script>
 +
 
 +
 
 +
<div id="infographic" onload="$('#element_to_pop_up').bPopup();">
 +
 
 +
<!-- Button that triggers the popup -->
 +
<button id="my-button">Watch Our Video</button>
 +
<!-- Element to pop up -->
 +
<div id="element_to_pop_up">
 +
  <center>
 +
        <button onclick="playPause()">Play/Pause</button>
 +
     <video id="video1" width="320" height="240" autoplay>
 +
        <source src="https://static.igem.org/mediawiki/2015/5/5c/Bovine_TB_1_.mp4" type="video/mp4">
 +
        Your browser does not support the video tag.
 +
     </video>
 +
     <p style="font-size:1em">Click outside window to close</p> <a href="https://youtu.be/HTQQr_W3q2s"> Click to see our Video </a>
 +
   </center>
 +
</div>
 +
 
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/d/d6/Exeter_home1.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/0/0b/Exeter_home2.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/4/4f/Exeter_home3.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/a/a5/Exeter_home4.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/8/88/Exeter_home5.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/d/d6/Exeter_home6.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/2/23/Exeter_home7.png"/>
 +
<img class="block" src="https://static.igem.org/mediawiki/2015/a/ab/Exeter_home8.png"/>
 +
</div>
  
  #top_menu_inside {
 
    margin-left: 20px;
 
  }
 
  
</style>
 
<!-- End of CSS -->
 
  
 +
<div style="background:#274e13; width:100%" class="container">
 +
<!-- This is where my buttons are -->
 +
<center style="background:#274e13; font-size:1.6em;"><a href="https://static.igem.org/mediawiki/2015/3/37/Exeter_home_infographic.png">Click here for the full infographic</a></center>
 +
        <nav>
 +
          <ul style="background:#274e13; margin:0; padding:100px;" class="pager">
 +
            <li class="previous"><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements"><span aria-hidden="true">&larr;</span>Medals</a></li>
 +
            <li style="color:#b6d7a8; font-size:2em">Use these buttons to see more</li>
 +
            <li class="next"><a href="https://2015.igem.org/Team:Exeter/Description">Project<span aria-hidden="true">&rarr;</span></a></li>
 +
          </ul>
 +
        </nav>
 +
        <!-- Buttons stop -->
 +
</div>
  
  
 
</html>
 
</html>
 +
{{Exeterfooter}}

Latest revision as of 03:54, 19 September 2015

Click outside window to close

Click to see our Video
  • Contact us:
    exeterigem@gmail.com