Difference between revisions of "Template:Exeter"

 
(125 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
<head>
 
<head>
 
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
 
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
 +
<link rel="icon" type="image/png" href="https://static.igem.org/mediawiki/2015/5/56/Exeter_igem_favicon.png">
 
</head>
 
</head>
  
 
     <!-- Bootstrap Core CSS -->
 
     <!-- Bootstrap Core CSS -->
     <link href="https://2015.igem.org/Team:Exeter/bootstrap-min.css?action=raw&amp;ctype=text/css" rel="stylesheet">
+
     <link href="https://2015.igem.org/Team:Exeter/bootstrap-min?action=raw&amp;ctype=text/css" rel="stylesheet">
  
 
     <!-- Custom CSS -->
 
     <!-- Custom CSS -->
     <link href="https://2015.igem.org/Team:Exeter/sb-admin-2.css?action=raw&amp;ctype=text/css" rel="stylesheet">
+
     <link href="https://2015.igem.org/Team:Exeter/sb-admin-2?action=raw&amp;ctype=text/css" rel="stylesheet">
 
+
    <link href="https://2015.igem.org/Team:Exeter/lib/jquery.bxslider.css?action=raw&amp;ctype=text/css" rel="stylesheet">
+
  
 
     <link href='http://fonts.googleapis.com/css?family=Ek+Mukta' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Ek+Mukta' rel='stylesheet' type='text/css'>
  
     <script src="https://2015.igem.org/Team:Exeter/ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js?action=raw&amp;ctype=text/javascript"></script>
+
     <script src="https://2015.igem.org/Team:Exeter/ajax-googleapis-com/ajax/libs/jquery/1-8-2/jquery-min?action=raw&amp;ctype=text/javascript"></script>
  
     <script src="https://2015.igem.org/Team:Exeter/js/jquery.bxslider.min.js?action=raw&ctype=text/javascript"></script>
+
     <script src="https://2015.igem.org/Team:Exeter/js/jquery-bxslider-min?action=raw&ctype=text/javascript"></script>
 +
 
 +
    <link href="https://2015.igem.org/Team:Exeter/lib/jquery-bxslider?action=raw&amp;ctype=text/css" rel="stylesheet">
  
    <link href="https://2015.igem.org/Team:Exeter/lib/jquery.bxslider.css?action=raw&amp;ctype=text/css" rel="stylesheet">
 
  
 
<style type="text/css">
 
<style type="text/css">
Line 24: Line 24:
 
#content {width:100%; border:none;}
 
#content {width:100%; border:none;}
  
#bodyContent {font-family: 'Ek Mukta', Verdana, sans-serif; font-size:1em; color: #34282C;}
+
#bodyContent {font-family: 'Ek Mukta', Verdana, sans-serif !important; font-size:1em; color: #34282C;}
  
 
h1{
 
h1{
Line 50: Line 50:
 
}
 
}
  
 
+
h2, h3, h4, h5, h6 {border-bottom:none;}
h2 {border-bottom:none; font-weight:bold; color: #333333; font-size:2em}/*rgb(33,33,55)*/
+
h2 {font-size:2.3em;}
h3, h4, h5, h6 {border-bottom:none; font-weight:bold; color: #333333; font-size:1.5em}
+
h3 {font-size:2em;}
 +
h4 {font-size:1.7em;}
 +
h5 {font-size:1.4em;}
 +
h6 {font-size:1.2em;}
  
 
section {text-align:justify; /*margin: 5px; margin-top:25px;*/}
 
section {text-align:justify; /*margin: 5px; margin-top:25px;*/}
Line 76: Line 79:
 
/*left align Black Menu Bar */
 
/*left align Black Menu Bar */
 
#top_menu_inside {  
 
#top_menu_inside {  
margin-left: 20px; width:100%;
+
margin-left: 20px; /*width:100%;*/
 
}
 
}
  
Line 86: Line 89:
 
}
 
}
  
 
+
#content a {
a {
+
 
color:#229640 !important;
 
color:#229640 !important;
 
font-weight:bold !important;
 
font-weight:bold !important;
 
}
 
}
a:hover {
+
#content a:hover {
 
color:#96C11E !important;
 
color:#96C11E !important;
 
text-decoration:none !important;
 
text-decoration:none !important;
Line 125: Line 127:
 
   box-shadow:0px 10px 10px #888888;
 
   box-shadow:0px 10px 10px #888888;
 
   border-radius:0px;
 
   border-radius:0px;
 +
  /*opacity:0.9;*/
 
}
 
}
 
/* Nav Button Style */
 
/* Nav Button Style */
Line 159: Line 162:
 
border:none;
 
border:none;
 
box-shadow:none;
 
box-shadow:none;
 +
        margin:0px !important;
 
}
 
}
 
.list-inline li a {
 
.list-inline li a {
Line 173: Line 177:
 
   display: table;
 
   display: table;
 
   table-layout: auto; /* optional */
 
   table-layout: auto; /* optional */
 +
  margin:0px !important;
 
}
 
}
  
Line 232: Line 237:
 
         padding:10px;
 
         padding:10px;
 
}
 
}
.sponsors {
+
/*.sponsors {
         /*border-bottom: 1px solid black;
+
         border-bottom: solid 1px;
         border-top: 1px solid black;*/
+
}*/
 +
.sponsors img {
 +
         padding-bottom:10px;
 
}
 
}
 
#twitter, #facebook {
 
#twitter, #facebook {
Line 262: Line 269:
 
.igem{
 
.igem{
 
     display:none;
 
     display:none;
 +
}
 +
img {
 +
    display:block;
 +
    clear:both;
 +
    float:none !important;
 +
}
 +
.navbar-header {
 +
    height:100px;
 +
}
 +
.container {
 +
    margin-top:55px !important;
 
}
 
}
 
}
 
}
Line 300: Line 318:
 
   left: 93px;  
 
   left: 93px;  
 
   top: 21px;  
 
   top: 21px;  
   height: 84px;  
+
   height: 100%;  
 
   display: table;
 
   display: table;
 
}
 
}
  
 
.level_3 p {
 
.level_3 p {
display: table-cell;  
+
  display: table-cell;  
 
   vertical-align: middle;  
 
   vertical-align: middle;  
 
   text-align: center;  
 
   text-align: center;  
 
}
 
}
  
#topmenu {
+
#level_3-menu {
 
     display: block;
 
     display: block;
 
     position: relative;
 
     position: relative;
Line 316: Line 334:
 
     left: 0px;
 
     left: 0px;
 
     width: 100%;
 
     width: 100%;
     height: 80px;
+
     height: 25px;
    background: url('https://static.igem.org/mediawiki/2013/1/1d/Top-gradient.png') #f1f1f1 repeat-x left top;
+
    box-shadow: 0 0 5px #888;
+
 
     z-index: 10;
 
     z-index: 10;
 
}
 
}
  
#topmenu .selflink {font-weight: normal !important; color: #0d9c64; cursor: default; padding: 0 12px 0 8px;}
+
.menucenter{
#topmenu .menucenter li:hover .selflink {padding: 0 11px 0 9px}
+
    position: relative;
 
+
    line-height: 20px;
#topmenu .menucenter{position: relative; display: block; line-height: 20px;}
+
 
+
#topmenu .menuleft {position: absolute; line-height: 76px; z-index: 3;}
+
#topmenu .menuleft a img {position: relative; height: 60px; top: 10px;}
+
 
+
#topmenu .menucenter {
+
 
     display:block;
 
     display:block;
     margin: 0 auto;
+
     margin: 0;
 
     width:100%;
 
     width:100%;
 
     text-align: center;
 
     text-align: center;
 
     font-size: 0;}
 
     font-size: 0;}
    #topmenu .menucenter .level_3 {
+
.level_3 {
 
         display:inline-block;
 
         display:inline-block;
 
         margin: 0;
 
         margin: 0;
        background: url('') no-repeat right top;
 
 
         font-size: 16px;}
 
         font-size: 16px;}
    #topmenu .menucenter .level_3:first-child {
+
.level_3 a {display:block; height: 25px; padding: 0 12px 0 8px;}
        background: url('') no-repeat left top, url('') no-repeat right top;}
+
.level_3:hover a {padding: 0 11px 0 9px}
    #topmenu .menucenter .level_3:hover {
+
#level_3-menu ul, .level_3 {
        background: url('') repeat-x top left;
+
    -webkit-margin-before: 0;
        border-left:1px solid #ccc;
+
    -webkit-margin-after: 0;
        border-right:1px solid #ccc;
+
    -webkit-padding-start: 0;}
        margin: 0 0 0 -2px;}
+
        #topmenu .menucenter .level_3 a {display:block; height: 79px; padding: 0 12px 0 8px;}
+
        #topmenu .menucenter .level_3:hover a {padding: 0 11px 0 9px}
+
  
#topmenu .menuright {position: absolute; display: block; width: 109px; height: 80px; right: 5.46878%; top: 0; z-index: 3;}
 
   
 
#topmenu .menuright a{display: inline-block; position: relative;}
 
  
    #topmenu .menuright a.twitter {
+
/*ScrollUp*/
        display:block;
+
#bodycontent {
        float: left;
+
    padding-top: 100px;
        width: 36px;
+
}
        height: 30px;
+
        margin-top: 25px;
+
        padding: 0;
+
        background: url('https://static.igem.org/mediawiki/2013/d/de/Twitterbtn.png') left top no-repeat;
+
    }
+
    #topmenu .menuright a.facebook {
+
        display:block;
+
        float: left;
+
        width: 36px;
+
        height: 34px;
+
        margin-top: 23px;
+
        padding: 0;
+
        background: url('https://static.igem.org/mediawiki/2013/7/7c/Facebookbtn.png') left top no-repeat;
+
    }
+
    #topmenu .menuright a.mail {
+
        display:block;
+
        float: left;
+
        width: 37px;
+
        height: 29px;
+
        margin-top: 26px;
+
        padding: 0;
+
        background: url('https://static.igem.org/mediawiki/2013/9/94/Mailbtn.png') left top no-repeat;
+
    }
+
    #topmenu .menuright a:hover {
+
        background-position: right top;
+
    }
+
  
 +
.navbar-fixed-top {
 +
    height: 100px;
 +
    position: fixed;
 +
    top: 0px;
 +
    transition: top 0.2s ease-in-out;
 +
}
  
#topmenu ul, topmenu .level_3 {
+
.nav-up {
     -webkit-margin-before: 0;
+
top:-100px;
    -webkit-margin-after: 0;
+
}
     -webkit-padding-start: 0;}
+
.base1 {
 +
    background:rgb(255,238,123)
 +
}
 +
.base2 {
 +
     background:rgb(88,132,179)
 +
}
 +
.base3 {
 +
    background:rgb(204,102,134)
 +
}
 +
.base4 {
 +
    background:rgb(166,199,118)
 +
}
 +
.base5 {
 +
    background:rgb(230,134,112)
 +
}
 +
.base6 {
 +
    background:rgb(97,204,159)
 +
}
 +
.base7 {
 +
    background:rgb(237,28,36)
 +
}
 +
/*JOE'S STUFF*/
 +
#p1 {
 +
    text-indent: 55px;
 +
    font-size: 30px;
 +
    padding-left:60px;
 +
    padding-top:30px;
 +
    }
 +
#p2 {
 +
    font-size: 30px;
 +
    text-align: right;
 +
    float: right;
 +
     width:700px;
 +
    display: inline-block;
 +
}
  
 +
 +
.toeholdheadergreen{
 +
  height: 100px;
 +
  background-image: url(https://static.igem.org/mediawiki/2015/b/b2/Exeter_switch.png);
 +
  background-repeat: no-repeat;
 +
  background-size:auto 80px;
 +
  background-position:20px 5px;
 +
  margin-bottom:20px;
 +
  border-radius:10px;
 +
}
 +
 +
/*page next, page back button CSS */
 +
nav > .pager {
 +
  padding-top:10px;
 +
  margin-top:50px;
 +
}
 +
 +
/*TABLE*/
 +
table {
 +
    /*border-collapse: collapse;*/
 +
    border-radius: 25px;
 +
    border: 0px !important;
 +
    box-shadow: 0px 0px 25px #888888;
 +
    overflow: hidden;
 +
    margin: 15px;
 +
}
 +
td, th {
 +
    border: 1px solid #274e13;
 +
    background: #b6d7a8;
 +
    padding: 15px;
 +
    padding-right: 25px;
 +
    vertical-align: top;
 +
    text-align: justify;
 +
}
 +
table tr th:first-child,
 +
table tr td:first-child {
 +
    border-left: 0px;
 +
}
 +
table tr th:last-child,
 +
table tr td:last-child {
 +
    border-right: 0px;
 +
}
 +
table tr:first-child th {
 +
    border-top: 0px;
 +
}
 +
table tr:last-child td {
 +
    border-bottom: 0px;
 +
}
 +
 +
.navbar-search {
 +
    width:200px;
 +
    padding-left:25px;
 +
    float:right;
 +
    display: inline-block;
 +
}
 +
.navbar-search button {
 +
    border: 1px solid #888888;
 +
}
 
</style>
 
</style>
 +
<!--
 +
<script>
 +
  (function() {
 +
    var cx = '013872312295473225681:zjqk8ipootc';
 +
    var gcse = document.createElement('script');
 +
    gcse.type = 'text/javascript';
 +
    gcse.async = true;
 +
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
 +
        '//cse.google.com/cse.js?cx=' + cx;
 +
    var s = document.getElementsByTagName('script')[0];
 +
    s.parentNode.insertBefore(gcse, s);
 +
  })();
 +
</script>
 +
<gcse:search></gcse:search>
 +
-->
 +
<script>
 +
$(document).ready(function() {
 +
 
 +
  $(window).scroll(function () {
 +
      //if you hard code, then use console
 +
      //.log to determine when you want the
 +
      //nav bar to stick. 
 +
      console.log($(window).scrollTop())
 +
    if ($(window).scrollTop() > 182) {
 +
      $('.navbar-collapse').addClass('navbar-fixed-top');
 +
    }
 +
    if ($(window).scrollTop() < 183) {
 +
      $('.navbar-collapse').removeClass('navbar-fixed-top');
 +
    }
 +
  });
 +
});
 +
</script>
  
 
<div id="wrapper">
 
<div id="wrapper">
Line 420: Line 527:
 
         <ul class="dropdown-menu">
 
         <ul class="dropdown-menu">
 
               <ul class='list-inline'>
 
               <ul class='list-inline'>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/Description">Description</a></li>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/BovineTB">Bovine TB</a></li>
 
             <li><a href="https://2015.igem.org/Team:Exeter/Design">Design</a></li>
 
             <li><a href="https://2015.igem.org/Team:Exeter/Design">Design</a></li>
<li><a href="https://2015.igem.org/Team:Exeter/RNA_Riboswitches">Toehold Background</a></li>
+
<li><a href="https://2015.igem.org/Team:Exeter/RNA_Riboswitches">Toehold Background</a></li>
<li><a href="https://2015.igem.org/Team:Exeter/Toehold_Design">Toehold Design</a></li>
+
 
                 <li><a href="https://2015.igem.org/Team:Exeter/diary">General Diary</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/diary">General Diary</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Future">Future</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Future">Future</a></li>
Line 429: Line 537:
 
     </li>
 
     </li>
 
         <li class="dropdown btn-group">
 
         <li class="dropdown btn-group">
         <button type="button" class="btn nav-btn"><a href="https://2015.igem.org/Team:Exeter/Lab">LAB</a></button>
+
         <button type="button" class="btn nav-btn"><a href="https://2015.igem.org/Team:Exeter/Toehold_Design">LAB</a></button>
 
   <button type="button" class="btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 
   <button type="button" class="btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 
     <span class="caret"></span>
 
     <span class="caret"></span>
Line 436: Line 544:
 
         <ul class="dropdown-menu">
 
         <ul class="dropdown-menu">
 
               <ul class='list-inline'>
 
               <ul class='list-inline'>
<li><a href="https://2015.igem.org/Team:Exeter/Experiments">Experiments</a></li>
+
                <li><a href="https://2015.igem.org/Team:Exeter/Toehold_Design">Toehold Design</a></li>
<li><a href="https://2015.igem.org/Team:Exeter/Results">Results</a></li>
+
        <li><a href="https://2015.igem.org/Team:Exeter/Experiments">Experiments</a></li>
 +
        <li><a href="https://2015.igem.org/Team:Exeter/Results">Results</a></li>
 +
                <!--<li><a href="https://2015.igem.org/Team:Exeter/Lab_Diary">Lab Diary</a></li>-->
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Safety">Safety</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Safety">Safety</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Interlab">Interlab</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Interlab">Interlab</a></li>
Line 451: Line 561:
 
             <ul class="dropdown-menu">
 
             <ul class="dropdown-menu">
 
               <ul class='list-inline'>
 
               <ul class='list-inline'>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/Modeling#simulation">Simulation</a></li>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/Modeling#parameter">Parameter Scanning</a></li>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/Modeling#scripts">Scripts</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Modelling_Diary">Modelling Diary</a></li>
 
                 <li><a href="https://2015.igem.org/Team:Exeter/Modelling_Diary">Modelling Diary</a></li>
 
               </ul>
 
               </ul>
Line 463: Line 576:
 
         <ul class="dropdown-menu">
 
         <ul class="dropdown-menu">
 
               <ul class='list-inline'>
 
               <ul class='list-inline'>
                 <li><a href="https://2015.igem.org/Team:Exeter/Introduction">Introduction</a></li>
+
                 <li><a href="https://2015.igem.org/Team:Exeter/Practices#introduction">Introduction</a></li>
          <li><a href="https://2015.igem.org/Team:Exeter/">What we did</a></li>
+
          <li><a href="https://2015.igem.org/Team:Exeter/Practices#timeline">What we did</a></li>
             <li><a href="https://2015.igem.org/Team:Exeter/Integration">Integration and design</a></li>
+
             <li><a href="https://2015.igem.org/Team:Exeter/Practices#integration">Integration and design</a></li>
                <li><a href="https://2015.igem.org/Team:Exeter/Timeline">Timeline</a></li>
+
 
               </ul>
 
               </ul>
 
         </ul>
 
         </ul>
Line 486: Line 598:
 
  </li>
 
  </li>
 
         <li class="dropdown btn-group">
 
         <li class="dropdown btn-group">
         <button type="button" class="btn nav-btn" style="padding-right:10px;"><a href="https://2015.igem.org/Team:Exeter/Parts">PARTS</a></button>
+
         <button type="button" class="btn nav-btn"><a href="https://2015.igem.org/Team:Exeter/Parts">PARTS</a></button>
 +
        <button type="button" class="btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 +
    <span class="caret"></span>
 +
    <span class="sr-only">Toggle Dropdown</span>
 +
  </button>
 +
        <ul class="dropdown-menu">
 +
              <ul class='list-inline'>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/Parts#toeholds">Toeholds</a></li>
 +
                <li><a href="https://2015.igem.org/Team:Exeter/Parts#reporters">Reporters</a></li>
 +
              </ul>
 +
              </ul>
 
     </li>
 
     </li>
 
         <li class="dropdown btn-group">
 
         <li class="dropdown btn-group">
 
         <button type="button" class="btn nav-btn"><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements">MEDALS</a></button>
 
         <button type="button" class="btn nav-btn"><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements">MEDALS</a></button>
  <button type="button" class="btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+
        <button type="button" class="btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 
     <span class="caret"></span>
 
     <span class="caret"></span>
 
     <span class="sr-only">Toggle Dropdown</span>
 
     <span class="sr-only">Toggle Dropdown</span>
 
   </button>
 
   </button>
      <ul class="dropdown-menu">
+
        <ul class="dropdown-menu">
 
               <ul class='list-inline'>
 
               <ul class='list-inline'>
                 <li><a href="">Gold </a></li>
+
                 <li><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements#bronze">Bronze</a></li>
             <li><a href="">Silver</a></li>
+
             <li><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements#silver">Silver</a></li>
          <li><a href="">Bronze</a></li>
+
                <li><a href="https://2015.igem.org/Team:Exeter/Medal_Requirements#gold">Gold</a></li>
 +
              </ul>
 
               </ul>
 
               </ul>
    </ul>
 
 
     </li>
 
     </li>
 +
        <li class="navbar-search">
 +
        <!--<div class="input-group custom-search-form">
 +
                <form id="frmSearch" method="get" action="default.html" />
 +
                <input id="txtSearch" type="text" class="form-control" placeholder="Search...">
 +
                <span class="input-group-btn">
 +
                <button class="btn btn-default" type="button">
 +
                  <img src="https://static.igem.org/mediawiki/2015/d/d2/ExeterSearch.png" height="20px;">
 +
                </button>
 +
                </span>
 +
            </div>-->
 +
<searchbox
 +
    label="Search this wiki for:"
 +
    searchlabel="Find it..."
 +
    golabel="Go!"
 +
/>
 +
            <!-- /input-group -->
 +
        </li>
 
       </ul><!-- /.navbar-nav -->
 
       </ul><!-- /.navbar-nav -->
 
     </div><!-- /.navbar-collapse -->
 
     </div><!-- /.navbar-collapse -->
Line 515: Line 654:
 
 
 
<!-- jQuery Scripts -->
 
<!-- jQuery Scripts -->
<script src="https://2015.igem.org/Team:Exeter/jquery-1-11-0-min.js?action=raw&amp;ctype=text/javascript"></script>
+
<script src="https://2015.igem.org/Team:Exeter/jquery-1-11-0-min?action=raw&amp;ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:Exeter/jquery-migrate-1-2-1-min?action=raw&amp;ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:Exeter/jquery-migrate-1-2-1-min?action=raw&amp;ctype=text/javascript"></script>
  
 
     <!-- jQuery -->
 
     <!-- jQuery -->
     <script src="https://2015.igem.org/Team:Exeter/half-slider-jquery.js?action=raw&amp;ctype=text/javascript"></script>
+
     <script src="https://2015.igem.org/Team:Exeter/half-slider-jquery?action=raw&amp;ctype=text/javascript"></script>
  
 
     <!-- Bootstrap Core JavaScript -->
 
     <!-- Bootstrap Core JavaScript -->
     <script src="https://2015.igem.org/Team:Exeter/half-slider-bootstrap-min.js?action=raw&amp;ctype=text/javascript"></script>
+
     <script src="https://2015.igem.org/Team:Exeter/half-slider-bootstrap-min?action=raw&amp;ctype=text/javascript"></script>
  
 
     <!-- Script to Activate the Carousel -->
 
     <!-- Script to Activate the Carousel -->
Line 564: Line 703:
 
$(document).ready(main);
 
$(document).ready(main);
  
</script>
 
 
<script>
 
$(document).ready(function() {
 
 
 
  $(window).scroll(function () {
 
      //if you hard code, then use console
 
      //.log to determine when you want the
 
      //nav bar to stick. 
 
      console.log($(window).scrollTop())
 
    if ($(window).scrollTop() > 182) {
 
      $('.navbar-collapse').addClass('navbar-fixed-top');
 
    }
 
    if ($(window).scrollTop() < 183) {
 
      $('.navbar-collapse').removeClass('navbar-fixed-top');
 
    }
 
  });
 
});
 
 
</script>
 
</script>
  
Line 604: Line 725:
 
$("#Rach").removeClass("profile");
 
$("#Rach").removeClass("profile");
 
   });
 
   });
  $("#Yem").click(function() {
+
  $("#Yem").click(function() {
 
$(".active").addClass("profile");
 
$(".active").addClass("profile");
 
$(".active").removeClass("active");
 
$(".active").removeClass("active");
Line 662: Line 783:
 
$(document).ready(main);
 
$(document).ready(main);
 
</script>
 
</script>
</html>
 

Latest revision as of 01:14, 19 September 2015