Difference between revisions of "Team:BGU Israel"

Line 1: Line 1:
{{BGU_Israel}}
 
{{BGU_Israel}}
 
  
 
<html lang="en">
 
<html lang="en">
 
<head>
 
<head>
   <!-- Theme Made By www.w3schools.com - No Copyright -->
+
    
   <title>Bootstrap Theme Company Page</title>
+
   <title>OriginALS</title>
 
   <meta charset="utf-8">
 
   <meta charset="utf-8">
 
   <meta name="viewport" content="width=device-width, initial-scale=1">
 
   <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <link type="text/css" rel="stylesheet" href="style.css">
 
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
 
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
 
   <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
 
   <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
Line 14: Line 13:
 
   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 
   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 
   <style>
 
   <style>
  body {
+
    body {
       font: 400 15px Lato, sans-serif;
+
       font: 400 15px Segoe UI, sans-serif;
 
       line-height: 1.8;
 
       line-height: 1.8;
 
       color: #818181;
 
       color: #818181;
 
 
   }
 
   }
   h2 {
+
   h1 {
       font-size: 24px;
+
       font-size: 32px;
 +
      font-family: Segoe UI Light;
 
       text-transform: uppercase;
 
       text-transform: uppercase;
 
       color: #303030;
 
       color: #303030;
Line 34: Line 33:
 
       margin-bottom: 30px;
 
       margin-bottom: 30px;
 
   }   
 
   }   
 +
      p, ol {
 +
          font-size: 16px;
 +
         
 +
          color:#010101;
 +
      }
 
   .jumbotron {
 
   .jumbotron {
 
       background-color: #f4511e;
 
       background-color: #f4511e;
Line 124: Line 128:
 
   .navbar {
 
   .navbar {
 
       margin-bottom: 0;
 
       margin-bottom: 0;
       background-color: #f4511e;
+
       background-color: #fff;
 
       z-index: 9999;
 
       z-index: 9999;
 
       border: 0;
 
       border: 0;
      font-size: 12px !important;
+
    text-transform:uppercase;
      line-height: 1.42857143 !important;
+
      letter-spacing: 4px;
+
 
       border-radius: 0;
 
       border-radius: 0;
padding-top:20px;
+
      font-family: 'Segoe UI Light';
       font-family: Montserrat, sans-serif;
+
       font-weight: 600;
 +
      color:#000;
 
   }
 
   }
 
   .navbar li a, .navbar .navbar-brand {
 
   .navbar li a, .navbar .navbar-brand {
       color: #fff !important;
+
       color: #000 !important;
 
   }
 
   }
 
   .navbar-nav li a:hover, .navbar-nav li.active a {
 
   .navbar-nav li a:hover, .navbar-nav li.active a {
       color: #f4511e !important;
+
       color: #0186ac !important;
 
       background-color: #fff !important;
 
       background-color: #fff !important;
 
   }
 
   }
Line 145: Line 148:
 
       color: #fff !important;
 
       color: #fff !important;
 
   }
 
   }
  footer .glyphicon {
+
 
      font-size: 20px;
+
      margin-bottom: 20px;
+
      color: #f4511e;
+
  }
+
 
   .slideanim {visibility:hidden;}
 
   .slideanim {visibility:hidden;}
 
   .slide {
 
   .slide {
Line 193: Line 192:
 
     }
 
     }
 
   }
 
   }
   </style>
+
      header.masthead {
 +
   padding-top: 10rem;
 +
  padding-bottom: calc(10rem - 56px);
 +
 
 +
  background-position: center center;
 +
  -webkit-background-size: cover;
 +
  -moz-background-size: cover;
 +
  -o-background-size: cover;
 +
  background-size: cover;
 +
}
 +
      .parallax-window {
 +
    min-height: 700px;
 +
    background: transparent;
 +
}
 +
      #abstract p, #abstract ol {
 +
          text-align: justify;
 +
      }
 +
      #myBtn {
 +
  display: none;
 +
         
 +
  position: fixed;
 +
  bottom: 20px;
 +
  right: 20px;
 +
  z-index: 99;
 +
  font-size: 16px;
 +
  border: none;
 +
  outline: none;
 +
  background-color: #0186ac;
 +
  color: white;
 +
  cursor: pointer;
 +
  padding: 8px 15px 8px 15px;
 +
  border-radius: 100px;
 +
}
 +
 
 +
#myBtn:hover {
 +
  background-color: #555;
 +
}
 +
      footer {
 +
          background-color:#262626;
 +
          color:#fff !important;
 +
      }
 +
    </style>
 
</head>
 
</head>
 
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
 
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
 +
    <div id="top"></div>
 +
    <a id="myBtn" href="#top" title="To Top">
 +
    <span class="glyphicon glyphicon-chevron-up"></span>
 +
  </a>
  
 
<nav class="navbar navbar-default navbar-fixed-top">
 
<nav class="navbar navbar-default navbar-fixed-top">
Line 209: Line 253:
 
     <div class="collapse navbar-collapse" id="myNavbar">
 
     <div class="collapse navbar-collapse" id="myNavbar">
 
       <ul class="nav navbar-nav navbar-right">
 
       <ul class="nav navbar-nav navbar-right">
         <li><a href="#about">ABOUT</a></li>
+
         <li><a href="index.html">Home</a></li>
         <li><a href="#services">SERVICES</a></li>
+
         <li><a href="#top">Team</a></li>
         <li><a href="#portfolio">PORTFOLIO</a></li>
+
         <li><a href="#portfolio">Parts</a></li>
         <li><a href="#pricing">PRICING</a></li>
+
         <li><a href="#pricing">Practices</a></li>
         <li><a href="#contact">CONTACT</a></li>
+
         <li><a href="#contact">Arrtibutions</a></li>
 
       </ul>
 
       </ul>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
 
</nav>
 
</nav>
 
+
  <header class="masthead text-center parallax-window text-white d-flex" data-parallax="scroll" data-image-src="https://static.igem.org/mediawiki/2018/2/2e/T--BGU_Israel--home_banner.jpg">
    <!-- Header - set the background image for the header in the line below -->
+
      <div class="container my-auto">
    <header class="py-5 bg-image-full" style="background-image: url('https://unsplash.it/1900/1080?image=1076');">
+
      </div>
    hello world    </header>
+
    </header>
 
+
 
+
  
 
<!-- Container (About Section) -->
 
<!-- Container (About Section) -->
<div id="about" class="container-fluid">
+
<div id="abstract" class="container-fluid text-center">
 
   <div class="row">
 
   <div class="row">
    <div class="col-sm-8">
+
<div class="col-sm-8 col-sm-offset-2">
      <h2>About Company Page</h2><br>
+
    <h1>Abstract</h1>
       <h4>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</h4><br>
+
       <p style="margin:0px !important; padding:0!important;"  class="mb-4 justified animated fadeInRight">Recent research studies of Amyotrophic Lateral Sclerosis (ALS) suggest that brain cells that have become toxic, directly contribute to the progression of the disease. These cells change their gene expression pattern and possess distinguishing genetic markers. In addition, they drive the death of other cells in the brain among them the motor neurons. <br><br>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
+
Our objective, as the BGU-IGEM team OriginALS, is to prolong survival of ALS patients via a novel genetic engineering approach. In order to reach this objective, we combine two separate strategies as our therapeutic approach: </p>
      <br><button class="btn btn-default btn-lg">Get in Touch</button>
+
              <ol class="mb-4 justified animated fadeInRight">
    </div>
+
                <li> We identify and selectively eliminate only the toxic cells. In order to identify and target the toxic-cells only, we use distinguishing markers that are unique only to them.</li>
    <div class="col-sm-4">
+
                <li>We prevent the generation of new toxic cells by genetically targeting specific molecules that generate the toxic cells.</li>
      <span class="glyphicon glyphicon-signal logo"></span>
+
              </ol>
    </div>
+
              <class="mb-4 justified animated fadeInRight">
  </div>
+
In conclusion, our approach combines an apoptotic destruction of toxic cells with the prevention of the formation of new toxic cells, thus aiming to significantly reduce the occurrence of toxic cells in the central neuronal system (CNS), which is aimed at a significant deceleration of the progression rate of ALS.</p>
</div>
+
  
<div class="container-fluid bg-grey">
 
  <div class="row">
 
    <div class="col-sm-4">
 
      <span class="glyphicon glyphicon-globe logo slideanim"></span>
 
    </div>
 
    <div class="col-sm-8">
 
      <h2>Our Values</h2><br>
 
      <h4><strong>MISSION:</strong> Our mission lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</h4><br>
 
      <p><strong>VISION:</strong> Our vision Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
 
      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
 
    </div>
 
  </div>
 
 
</div>
 
</div>
 
+
      
<!-- Container (Services Section) -->
+
<div id="services" class="container-fluid text-center">
+
  <h2>SERVICES</h2>
+
  <h4>What we offer</h4>
+
  <br>
+
  <div class="row slideanim">
+
     <div class="col-sm-4">
+
      <span class="glyphicon glyphicon-off logo-small"></span>
+
      <h4>POWER</h4>
+
      <p>Lorem ipsum dolor sit amet..</p>
+
    </div>
+
    <div class="col-sm-4">
+
      <span class="glyphicon glyphicon-heart logo-small"></span>
+
      <h4>LOVE</h4>
+
      <p>Lorem ipsum dolor sit amet..</p>
+
    </div>
+
    <div class="col-sm-4">
+
      <span class="glyphicon glyphicon-lock logo-small"></span>
+
      <h4>JOB DONE</h4>
+
      <p>Lorem ipsum dolor sit amet..</p>
+
    </div>
+
  </div>
+
  <br><br>
+
  <div class="row slideanim">
+
    <div class="col-sm-4">
+
      <span class="glyphicon glyphicon-leaf logo-small"></span>
+
      <h4>GREEN</h4>
+
      <p>Lorem ipsum dolor sit amet..</p>
+
    </div>
+
    <div class="col-sm-4">
+
      <span class="glyphicon glyphicon-certificate logo-small"></span>
+
      <h4>CERTIFIED</h4>
+
      <p>Lorem ipsum dolor sit amet..</p>
+
    </div>
+
    <div class="col-sm-4">
+
      <span class="glyphicon glyphicon-wrench logo-small"></span>
+
      <h4 style="color:#303030;">HARD WORK</h4>
+
      <p>Lorem ipsum dolor sit amet..</p>
+
    </div>
+
 
   </div>
 
   </div>
 
</div>
 
</div>
  
<!-- Container (Portfolio Section) -->
 
<div id="portfolio" class="container-fluid text-center bg-grey">
 
  <h2>Portfolio</h2><br>
 
  <h4>What we have created</h4>
 
  <div class="row text-center slideanim">
 
    <div class="col-sm-4">
 
      <div class="thumbnail">
 
        <img src="paris.jpg" alt="Paris" width="400" height="300">
 
        <p><strong>Paris</strong></p>
 
        <p>Yes, we built Paris</p>
 
      </div>
 
    </div>
 
    <div class="col-sm-4">
 
      <div class="thumbnail">
 
        <img src="newyork.jpg" alt="New York" width="400" height="300">
 
        <p><strong>New York</strong></p>
 
        <p>We built New York</p>
 
      </div>
 
    </div>
 
    <div class="col-sm-4">
 
      <div class="thumbnail">
 
        <img src="sanfran.jpg" alt="San Francisco" width="400" height="300">
 
        <p><strong>San Francisco</strong></p>
 
        <p>Yes, San Fran is ours</p>
 
      </div>
 
    </div>
 
  </div><br>
 
 
 
  <h2>What our customers say</h2>
 
  <div id="myCarousel" class="carousel slide text-center" data-ride="carousel">
 
    <!-- Indicators -->
 
    <ol class="carousel-indicators">
 
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
 
      <li data-target="#myCarousel" data-slide-to="1"></li>
 
      <li data-target="#myCarousel" data-slide-to="2"></li>
 
    </ol>
 
  
    <!-- Wrapper for slides -->
 
    <div class="carousel-inner" role="listbox">
 
      <div class="item active">
 
        <h4>"This company is the best. I am so happy with the result!"<br><span>Michael Roe, Vice President, Comment Box</span></h4>
 
      </div>
 
      <div class="item">
 
        <h4>"One word... WOW!!"<br><span>John Doe, Salesman, Rep Inc</span></h4>
 
      </div>
 
      <div class="item">
 
        <h4>"Could I... BE any more happy with this company?"<br><span>Chandler Bing, Actor, FriendsAlot</span></h4>
 
      </div>
 
    </div>
 
  
    <!-- Left and right controls -->
+
<div id="contact"></div>
    <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
+
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
+
      <span class="sr-only">Previous</span>
+
    </a>
+
    <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
+
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
+
      <span class="sr-only">Next</span>
+
    </a>
+
  </div>
+
</div>
+
 
+
<!-- Container (Pricing Section) -->
+
<div id="pricing" class="container-fluid">
+
  <div class="text-center">
+
    <h2>Pricing</h2>
+
    <h4>Choose a payment plan that works for you</h4>
+
  </div>
+
  <div class="row slideanim">
+
    <div class="col-sm-4 col-xs-12">
+
      <div class="panel panel-default text-center">
+
        <div class="panel-heading">
+
          <h1>Basic</h1>
+
        </div>
+
        <div class="panel-body">
+
          <p><strong>20</strong> Lorem</p>
+
          <p><strong>15</strong> Ipsum</p>
+
          <p><strong>5</strong> Dolor</p>
+
          <p><strong>2</strong> Sit</p>
+
          <p><strong>Endless</strong> Amet</p>
+
        </div>
+
        <div class="panel-footer">
+
          <h3>$19</h3>
+
          <h4>per month</h4>
+
          <button class="btn btn-lg">Sign Up</button>
+
        </div>
+
      </div>     
+
    </div>   
+
    <div class="col-sm-4 col-xs-12">
+
      <div class="panel panel-default text-center">
+
        <div class="panel-heading">
+
          <h1>Pro</h1>
+
        </div>
+
        <div class="panel-body">
+
          <p><strong>50</strong> Lorem</p>
+
          <p><strong>25</strong> Ipsum</p>
+
          <p><strong>10</strong> Dolor</p>
+
          <p><strong>5</strong> Sit</p>
+
          <p><strong>Endless</strong> Amet</p>
+
        </div>
+
        <div class="panel-footer">
+
          <h3>$29</h3>
+
          <h4>per month</h4>
+
          <button class="btn btn-lg">Sign Up</button>
+
        </div>
+
      </div>     
+
    </div>     
+
    <div class="col-sm-4 col-xs-12">
+
      <div class="panel panel-default text-center">
+
        <div class="panel-heading">
+
          <h1>Premium</h1>
+
        </div>
+
        <div class="panel-body">
+
          <p><strong>100</strong> Lorem</p>
+
          <p><strong>50</strong> Ipsum</p>
+
          <p><strong>25</strong> Dolor</p>
+
          <p><strong>10</strong> Sit</p>
+
          <p><strong>Endless</strong> Amet</p>
+
        </div>
+
        <div class="panel-footer">
+
          <h3>$49</h3>
+
          <h4>per month</h4>
+
          <button class="btn btn-lg">Sign Up</button>
+
        </div>
+
      </div>     
+
    </div>   
+
  </div>
+
</div>
+
 
+
<!-- Container (Contact Section) -->
+
<div id="contact" class="container-fluid bg-grey">
+
  <h2 class="text-center">CONTACT</h2>
+
  <div class="row">
+
    <div class="col-sm-5">
+
      <p>Contact us and we'll get back to you within 24 hours.</p>
+
      <p><span class="glyphicon glyphicon-map-marker"></span> Chicago, US</p>
+
      <p><span class="glyphicon glyphicon-phone"></span> +00 1515151515</p>
+
      <p><span class="glyphicon glyphicon-envelope"></span> myemail@something.com</p>
+
    </div>
+
    <div class="col-sm-7 slideanim">
+
      <div class="row">
+
        <div class="col-sm-6 form-group">
+
          <input class="form-control" id="name" name="name" placeholder="Name" type="text" required>
+
        </div>
+
        <div class="col-sm-6 form-group">
+
          <input class="form-control" id="email" name="email" placeholder="Email" type="email" required>
+
        </div>
+
      </div>
+
      <textarea class="form-control" id="comments" name="comments" placeholder="Comment" rows="5"></textarea><br>
+
      <div class="row">
+
        <div class="col-sm-12 form-group">
+
          <button class="btn btn-default pull-right" type="submit">Send</button>
+
        </div>
+
      </div>
+
    </div>
+
  </div>
+
</div>
+
 
+
<!-- Add Google Maps -->
+
<div id="googleMap" style="height:400px;width:100%;"></div>
+
<script>
+
function myMap() {
+
var myCenter = new google.maps.LatLng(41.878114, -87.629798);
+
var mapProp = {center:myCenter, zoom:12, scrollwheel:false, draggable:false, mapTypeId:google.maps.MapTypeId.ROADMAP};
+
var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);
+
var marker = new google.maps.Marker({position:myCenter});
+
marker.setMap(map);
+
}
+
</script>
+
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBu-916DdpKAjTmJNIgngS6HL_kDIKU0aU&callback=myMap"></script>
+
<!--
+
To use this code on your website, get a free API key from Google.
+
Read more at: https://www.w3schools.com/graphics/google_maps_basic.asp
+
-->
+
  
 
<footer class="container-fluid text-center">
 
<footer class="container-fluid text-center">
  <a href="#myPage" title="To Top">
+
    <span class="glyphicon glyphicon-chevron-up"></span>
+
  </a>
+
  <p>Bootstrap Theme Made By <a href="https://www.w3schools.com" title="Visit w3schools">www.w3schools.com</a></p>
+
 
</footer>
 
</footer>
  
Line 481: Line 297:
 
$(document).ready(function(){
 
$(document).ready(function(){
 
   // Add smooth scrolling to all links in navbar + footer link
 
   // Add smooth scrolling to all links in navbar + footer link
   $(".navbar a, footer a[href='#myPage']").on('click', function(event) {
+
   $(".navbar a, #myBtn[href='#top']").on('click', function(event) {
 
     // Make sure this.hash has a value before overriding default behavior
 
     // Make sure this.hash has a value before overriding default behavior
 
     if (this.hash !== "") {
 
     if (this.hash !== "") {
Line 494: Line 310:
 
       $('html, body').animate({
 
       $('html, body').animate({
 
         scrollTop: $(hash).offset().top
 
         scrollTop: $(hash).offset().top
       }, 900, function(){
+
       }, 500, function(){
 
    
 
    
 
         // Add hash (#) to URL when done scrolling (default click behavior)
 
         // Add hash (#) to URL when done scrolling (default click behavior)
Line 514: Line 330:
 
})
 
})
 
</script>
 
</script>
 +
<script>
 +
    /*!
 +
* parallax.js v1.5.0 (http://pixelcog.github.io/parallax.js/)
 +
* @copyright 2016 PixelCog, Inc.
 +
* @license MIT (https://github.com/pixelcog/parallax.js/blob/master/LICENSE)
 +
*/
  
 +
;(function ( $, window, document, undefined ) {
 +
 +
  // Polyfill for requestAnimationFrame
 +
  // via: https://gist.github.com/paulirish/1579671
 +
 +
  (function() {
 +
    var lastTime = 0;
 +
    var vendors = ['ms', 'moz', 'webkit', 'o'];
 +
    for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
 +
      window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
 +
      window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame'];
 +
    }
 +
 +
    if (!window.requestAnimationFrame)
 +
      window.requestAnimationFrame = function(callback) {
 +
        var currTime = new Date().getTime();
 +
        var timeToCall = Math.max(0, 16 - (currTime - lastTime));
 +
        var id = window.setTimeout(function() { callback(currTime + timeToCall); },
 +
          timeToCall);
 +
        lastTime = currTime + timeToCall;
 +
        return id;
 +
      };
 +
 +
    if (!window.cancelAnimationFrame)
 +
      window.cancelAnimationFrame = function(id) {
 +
        clearTimeout(id);
 +
      };
 +
  }());
 +
 +
 +
  // Parallax Constructor
 +
 +
  function Parallax(element, options) {
 +
    var self = this;
 +
 +
    if (typeof options == 'object') {
 +
      delete options.refresh;
 +
      delete options.render;
 +
      $.extend(this, options);
 +
    }
 +
 +
    this.$element = $(element);
 +
 +
    if (!this.imageSrc && this.$element.is('img')) {
 +
      this.imageSrc = this.$element.attr('src');
 +
    }
 +
 +
    var positions = (this.position + '').toLowerCase().match(/\S+/g) || [];
 +
 +
    if (positions.length < 1) {
 +
      positions.push('center');
 +
    }
 +
    if (positions.length == 1) {
 +
      positions.push(positions[0]);
 +
    }
 +
 +
    if (positions[0] == 'top' || positions[0] == 'bottom' || positions[1] == 'left' || positions[1] == 'right') {
 +
      positions = [positions[1], positions[0]];
 +
    }
 +
 +
    if (this.positionX !== undefined) positions[0] = this.positionX.toLowerCase();
 +
    if (this.positionY !== undefined) positions[1] = this.positionY.toLowerCase();
 +
 +
    self.positionX = positions[0];
 +
    self.positionY = positions[1];
 +
 +
    if (this.positionX != 'left' && this.positionX != 'right') {
 +
      if (isNaN(parseInt(this.positionX))) {
 +
        this.positionX = 'center';
 +
      } else {
 +
        this.positionX = parseInt(this.positionX);
 +
      }
 +
    }
 +
 +
    if (this.positionY != 'top' && this.positionY != 'bottom') {
 +
      if (isNaN(parseInt(this.positionY))) {
 +
        this.positionY = 'center';
 +
      } else {
 +
        this.positionY = parseInt(this.positionY);
 +
      }
 +
    }
 +
 +
    this.position =
 +
      this.positionX + (isNaN(this.positionX)? '' : 'px') + ' ' +
 +
      this.positionY + (isNaN(this.positionY)? '' : 'px');
 +
 +
    if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
 +
      if (this.imageSrc && this.iosFix && !this.$element.is('img')) {
 +
        this.$element.css({
 +
          backgroundImage: 'url(' + this.imageSrc + ')',
 +
          backgroundSize: 'cover',
 +
          backgroundPosition: this.position
 +
        });
 +
      }
 +
      return this;
 +
    }
 +
 +
    if (navigator.userAgent.match(/(Android)/)) {
 +
      if (this.imageSrc && this.androidFix && !this.$element.is('img')) {
 +
        this.$element.css({
 +
          backgroundImage: 'url(' + this.imageSrc + ')',
 +
          backgroundSize: 'cover',
 +
          backgroundPosition: this.position
 +
        });
 +
      }
 +
      return this;
 +
    }
 +
 +
    this.$mirror = $('<div />').prependTo(this.mirrorContainer);
 +
 +
    var slider = this.$element.find('>.parallax-slider');
 +
    var sliderExisted = false;
 +
 +
    if (slider.length == 0)
 +
      this.$slider = $('<img />').prependTo(this.$mirror);
 +
    else {
 +
      this.$slider = slider.prependTo(this.$mirror)
 +
      sliderExisted = true;
 +
    }
 +
 +
    this.$mirror.addClass('parallax-mirror').css({
 +
      visibility: 'hidden',
 +
      zIndex: this.zIndex,
 +
      position: 'fixed',
 +
      top: 0,
 +
      left: 0,
 +
      overflow: 'hidden'
 +
    });
 +
 +
    this.$slider.addClass('parallax-slider').one('load', function() {
 +
      if (!self.naturalHeight || !self.naturalWidth) {
 +
        self.naturalHeight = this.naturalHeight || this.height || 1;
 +
        self.naturalWidth  = this.naturalWidth  || this.width  || 1;
 +
      }
 +
      self.aspectRatio = self.naturalWidth / self.naturalHeight;
 +
 +
      Parallax.isSetup || Parallax.setup();
 +
      Parallax.sliders.push(self);
 +
      Parallax.isFresh = false;
 +
      Parallax.requestRender();
 +
    });
 +
 +
    if (!sliderExisted)
 +
      this.$slider[0].src = this.imageSrc;
 +
 +
    if (this.naturalHeight && this.naturalWidth || this.$slider[0].complete || slider.length > 0) {
 +
      this.$slider.trigger('load');
 +
    }
 +
 +
  }
 +
 +
 +
  // Parallax Instance Methods
 +
 +
  $.extend(Parallax.prototype, {
 +
    speed:    0.2,
 +
    bleed:    0,
 +
    zIndex:  -100,
 +
    iosFix:  true,
 +
    androidFix: true,
 +
    position: 'center',
 +
    overScrollFix: false,
 +
    mirrorContainer: 'body',
 +
 +
    refresh: function() {
 +
      this.boxWidth        = this.$element.outerWidth();
 +
      this.boxHeight      = this.$element.outerHeight() + this.bleed * 2;
 +
      this.boxOffsetTop    = this.$element.offset().top - this.bleed;
 +
      this.boxOffsetLeft  = this.$element.offset().left;
 +
      this.boxOffsetBottom = this.boxOffsetTop + this.boxHeight;
 +
 +
      var winHeight = Parallax.winHeight;
 +
      var docHeight = Parallax.docHeight;
 +
      var maxOffset = Math.min(this.boxOffsetTop, docHeight - winHeight);
 +
      var minOffset = Math.max(this.boxOffsetTop + this.boxHeight - winHeight, 0);
 +
      var imageHeightMin = this.boxHeight + (maxOffset - minOffset) * (1 - this.speed) | 0;
 +
      var imageOffsetMin = (this.boxOffsetTop - maxOffset) * (1 - this.speed) | 0;
 +
      var margin;
 +
 +
      if (imageHeightMin * this.aspectRatio >= this.boxWidth) {
 +
        this.imageWidth    = imageHeightMin * this.aspectRatio | 0;
 +
        this.imageHeight  = imageHeightMin;
 +
        this.offsetBaseTop = imageOffsetMin;
 +
 +
        margin = this.imageWidth - this.boxWidth;
 +
 +
        if (this.positionX == 'left') {
 +
          this.offsetLeft = 0;
 +
        } else if (this.positionX == 'right') {
 +
          this.offsetLeft = - margin;
 +
        } else if (!isNaN(this.positionX)) {
 +
          this.offsetLeft = Math.max(this.positionX, - margin);
 +
        } else {
 +
          this.offsetLeft = - margin / 2 | 0;
 +
        }
 +
      } else {
 +
        this.imageWidth    = this.boxWidth;
 +
        this.imageHeight  = this.boxWidth / this.aspectRatio | 0;
 +
        this.offsetLeft    = 0;
 +
 +
        margin = this.imageHeight - imageHeightMin;
 +
 +
        if (this.positionY == 'top') {
 +
          this.offsetBaseTop = imageOffsetMin;
 +
        } else if (this.positionY == 'bottom') {
 +
          this.offsetBaseTop = imageOffsetMin - margin;
 +
        } else if (!isNaN(this.positionY)) {
 +
          this.offsetBaseTop = imageOffsetMin + Math.max(this.positionY, - margin);
 +
        } else {
 +
          this.offsetBaseTop = imageOffsetMin - margin / 2 | 0;
 +
        }
 +
      }
 +
    },
 +
 +
    render: function() {
 +
      var scrollTop    = Parallax.scrollTop;
 +
      var scrollLeft  = Parallax.scrollLeft;
 +
      var overScroll  = this.overScrollFix ? Parallax.overScroll : 0;
 +
      var scrollBottom = scrollTop + Parallax.winHeight;
 +
 +
      if (this.boxOffsetBottom > scrollTop && this.boxOffsetTop <= scrollBottom) {
 +
        this.visibility = 'visible';
 +
        this.mirrorTop = this.boxOffsetTop  - scrollTop;
 +
        this.mirrorLeft = this.boxOffsetLeft - scrollLeft;
 +
        this.offsetTop = this.offsetBaseTop - this.mirrorTop * (1 - this.speed);
 +
      } else {
 +
        this.visibility = 'hidden';
 +
      }
 +
 +
      this.$mirror.css({
 +
        transform: 'translate3d('+this.mirrorLeft+'px, '+(this.mirrorTop - overScroll)+'px, 0px)',
 +
        visibility: this.visibility,
 +
        height: this.boxHeight,
 +
        width: this.boxWidth
 +
      });
 +
 +
      this.$slider.css({
 +
        transform: 'translate3d('+this.offsetLeft+'px, '+this.offsetTop+'px, 0px)',
 +
        position: 'absolute',
 +
        height: this.imageHeight,
 +
        width: this.imageWidth,
 +
        maxWidth: 'none'
 +
      });
 +
    }
 +
  });
 +
 +
 +
  // Parallax Static Methods
 +
 +
  $.extend(Parallax, {
 +
    scrollTop:    0,
 +
    scrollLeft:  0,
 +
    winHeight:    0,
 +
    winWidth:    0,
 +
    docHeight:    1 << 30,
 +
    docWidth:    1 << 30,
 +
    sliders:      [],
 +
    isReady:      false,
 +
    isFresh:      false,
 +
    isBusy:      false,
 +
 +
    setup: function() {
 +
      if (this.isReady) return;
 +
 +
      var self = this;
 +
 +
      var $doc = $(document), $win = $(window);
 +
 +
      var loadDimensions = function() {
 +
        Parallax.winHeight = $win.height();
 +
        Parallax.winWidth  = $win.width();
 +
        Parallax.docHeight = $doc.height();
 +
        Parallax.docWidth  = $doc.width();
 +
      };
 +
 +
      var loadScrollPosition = function() {
 +
        var winScrollTop  = $win.scrollTop();
 +
        var scrollTopMax  = Parallax.docHeight - Parallax.winHeight;
 +
        var scrollLeftMax = Parallax.docWidth  - Parallax.winWidth;
 +
        Parallax.scrollTop  = Math.max(0, Math.min(scrollTopMax,  winScrollTop));
 +
        Parallax.scrollLeft = Math.max(0, Math.min(scrollLeftMax, $win.scrollLeft()));
 +
        Parallax.overScroll = Math.max(winScrollTop - scrollTopMax, Math.min(winScrollTop, 0));
 +
      };
 +
 +
      $win.on('resize.px.parallax load.px.parallax', function() {
 +
          loadDimensions();
 +
          self.refresh();
 +
          Parallax.isFresh = false;
 +
          Parallax.requestRender();
 +
        })
 +
        .on('scroll.px.parallax load.px.parallax', function() {
 +
          loadScrollPosition();
 +
          Parallax.requestRender();
 +
        });
 +
 +
      loadDimensions();
 +
      loadScrollPosition();
 +
 +
      this.isReady = true;
 +
 +
      var lastPosition = -1;
 +
 +
      function frameLoop() {
 +
        if (lastPosition == window.pageYOffset) {  // Avoid overcalculations
 +
          window.requestAnimationFrame(frameLoop);
 +
          return false;
 +
        } else lastPosition = window.pageYOffset;
 +
 +
        self.render();
 +
        window.requestAnimationFrame(frameLoop);
 +
      }
 +
 +
      frameLoop();
 +
    },
 +
 +
    configure: function(options) {
 +
      if (typeof options == 'object') {
 +
        delete options.refresh;
 +
        delete options.render;
 +
        $.extend(this.prototype, options);
 +
      }
 +
    },
 +
 +
    refresh: function() {
 +
      $.each(this.sliders, function(){ this.refresh(); });
 +
      this.isFresh = true;
 +
    },
 +
 +
    render: function() {
 +
      this.isFresh || this.refresh();
 +
      $.each(this.sliders, function(){ this.render(); });
 +
    },
 +
 +
    requestRender: function() {
 +
      var self = this;
 +
      self.render();
 +
      self.isBusy = false;
 +
    },
 +
    destroy: function(el){
 +
      var i,
 +
          parallaxElement = $(el).data('px.parallax');
 +
      parallaxElement.$mirror.remove();
 +
      for(i=0; i < this.sliders.length; i+=1){
 +
        if(this.sliders[i] == parallaxElement){
 +
          this.sliders.splice(i, 1);
 +
        }
 +
      }
 +
      $(el).data('px.parallax', false);
 +
      if(this.sliders.length === 0){
 +
        $(window).off('scroll.px.parallax resize.px.parallax load.px.parallax');
 +
        this.isReady = false;
 +
        Parallax.isSetup = false;
 +
      }
 +
    }
 +
  });
 +
 +
 +
  // Parallax Plugin Definition
 +
 +
  function Plugin(option) {
 +
    return this.each(function () {
 +
      var $this = $(this);
 +
      var options = typeof option == 'object' && option;
 +
 +
      if (this == window || this == document || $this.is('body')) {
 +
        Parallax.configure(options);
 +
      }
 +
      else if (!$this.data('px.parallax')) {
 +
        options = $.extend({}, $this.data(), options);
 +
        $this.data('px.parallax', new Parallax(this, options));
 +
      }
 +
      else if (typeof option == 'object')
 +
      {
 +
        $.extend($this.data('px.parallax'), options);
 +
      }
 +
      if (typeof option == 'string') {
 +
        if(option == 'destroy'){
 +
            Parallax.destroy(this);
 +
        }else{
 +
          Parallax[option]();
 +
        }
 +
      }
 +
    });
 +
  }
 +
 +
  var old = $.fn.parallax;
 +
 +
  $.fn.parallax            = Plugin;
 +
  $.fn.parallax.Constructor = Parallax;
 +
 +
 +
  // Parallax No Conflict
 +
 +
  $.fn.parallax.noConflict = function () {
 +
    $.fn.parallax = old;
 +
    return this;
 +
  };
 +
 +
 +
  // Parallax Data-API
 +
 +
  $( function () {
 +
    $('[data-parallax="scroll"]').parallax();
 +
  });
 +
 +
}(jQuery, window, document));
 +
 
 +
    </script>
 +
    <script>
 +
// When the user scrolls down 20px from the top of the document, show the button
 +
window.onscroll = function() {scrollFunction()};
 +
 +
function scrollFunction() {
 +
    if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
 +
        document.getElementById("myBtn").style.display = "block";
 +
    } else {
 +
        document.getElementById("myBtn").style.display = "none";
 +
    }
 +
}
 +
 +
 +
</script>
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 08:38, 29 July 2018

OriginALS

Abstract

Recent research studies of Amyotrophic Lateral Sclerosis (ALS) suggest that brain cells that have become toxic, directly contribute to the progression of the disease. These cells change their gene expression pattern and possess distinguishing genetic markers. In addition, they drive the death of other cells in the brain among them the motor neurons.

Our objective, as the BGU-IGEM team OriginALS, is to prolong survival of ALS patients via a novel genetic engineering approach. In order to reach this objective, we combine two separate strategies as our therapeutic approach:

  1. We identify and selectively eliminate only the toxic cells. In order to identify and target the toxic-cells only, we use distinguishing markers that are unique only to them.
  2. We prevent the generation of new toxic cells by genetically targeting specific molecules that generate the toxic cells.

In conclusion, our approach combines an apoptotic destruction of toxic cells with the prevention of the formation of new toxic cells, thus aiming to significantly reduce the occurrence of toxic cells in the central neuronal system (CNS), which is aimed at a significant deceleration of the progression rate of ALS.