Difference between revisions of "Team:ATOMS-Turkiye/Team/ATOMs"

 
(16 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
#page-wrapper {
 
#page-wrapper {
 
margin-top:0px !important
 
margin-top:0px !important
 +
}
 +
.scroll-nav, .scroll {
 +
display:none
 
}
 
}
 
</style>
 
</style>
 +
<div class="main">
 +
<article class="post__article">
 +
<h2 class="scroll">1</h2>
 +
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: -72px !important;">
 +
<img src="https://static.igem.org/mediawiki/2015/4/49/ATOMS-Turkiye_ins1.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 +
  
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px !important;">
 
<img src="https://static.igem.org/mediawiki/2015/7/76/ATOMS-Turkiye_team_ins-ad1.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
 
</div>
 
</div>
 +
 +
<h2 class="scroll">2</h2>
 +
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 +
<img src="https://static.igem.org/mediawiki/2015/3/30/ATOMS-Turkiye_ins2.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
  
  
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px !important;">
 
<img src="https://static.igem.org/mediawiki/2015/6/6e/ATOMS-Turkiye_team_ins-ad2.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
 
</div>
 
</div>
  
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px !important;">
+
<h2 class="scroll">3</h2>
<img src="https://static.igem.org/mediawiki/2015/a/a2/ATOMS-Turkiye_team_ins-ad3.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
+
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 +
<img src="https://static.igem.org/mediawiki/2015/7/74/ATOMS-Turkiye_ins3.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 +
 
 +
 
 
</div>
 
</div>
  
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px !important;">
+
<h2 class="scroll">4</h2>
<img src="https://static.igem.org/mediawiki/2015/1/12/ATOMS-Turkiye_team_ins-ad4.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
+
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 +
<img src="https://static.igem.org/mediawiki/2015/7/77/ATOMS-Turkiye_ins4.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 +
 
 +
 
 
</div>
 
</div>
  
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px !important;">
+
<h2 class="scroll">5</h2>
 +
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 
<img src="https://static.igem.org/mediawiki/2015/e/e8/Atoms-takim1.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
<img src="https://static.igem.org/mediawiki/2015/e/e8/Atoms-takim1.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
      
 
      
Line 43: Line 59:
 
</div>
 
</div>
  
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
+
<h2 class="scroll">6</h2>
 +
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 
<img src="https://static.igem.org/mediawiki/2015/a/a6/Atoms-takim2.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
<img src="https://static.igem.org/mediawiki/2015/a/a6/Atoms-takim2.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
      
 
      
Line 49: Line 66:
 
</div>
 
</div>
  
 
+
<h2 class="scroll">7</h2>
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
+
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 
<img src="https://static.igem.org/mediawiki/2015/9/91/Atoms-takim3.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
<img src="https://static.igem.org/mediawiki/2015/9/91/Atoms-takim3.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
      
 
      
Line 56: Line 73:
 
</div>
 
</div>
  
 
+
<h2 class="scroll">8</h2>
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
+
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 
<img src="https://static.igem.org/mediawiki/2015/d/d0/Atoms-takim4.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
<img src="https://static.igem.org/mediawiki/2015/d/d0/Atoms-takim4.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
      
 
      
Line 63: Line 80:
 
</div>
 
</div>
  
 
+
<h2 class="scroll">9</h2>
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
+
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 
<img src="https://static.igem.org/mediawiki/2015/5/53/Atoms-takim5.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
<img src="https://static.igem.org/mediawiki/2015/5/53/Atoms-takim5.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
      
 
      
Line 70: Line 87:
 
</div>
 
</div>
  
 
+
<h2 class="scroll">10</h2>
<div id="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
+
<div id="content-div" class="content-div" style="width:100%; height:900px; margin:auto; padding:0px; margin-top: 65px;">
 
<img src="https://static.igem.org/mediawiki/2015/d/d8/Atoms-takim6.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
<img src="https://static.igem.org/mediawiki/2015/d/d8/Atoms-takim6.png" style="height: auto;width: 100%;position: static;left: 0px;right: 0px;margin: 0px;margin-top: -13px;border: 1px black;">
 
      
 
      
 
      
 
      
 +
</div>
 +
<h2 class="scroll"></h2>
 +
<div class="content-div" ></div>
 +
</article>
 
</div>
 
</div>
  
  
  
 +
<script>
 +
$('.post__article').scrollNav({
 +
    sections: '.scroll',
 +
    subSections: true,
 +
    sectionElem: 'div',
 +
    showHeadline: false,
 +
    headlineText: 'Scroll To',
 +
    showTopLink: true,
 +
    topLinkText: 'Top',
 +
    fixedMargin: 40,
 +
    scrollOffset: 140,
 +
    animated: true,
 +
    speed: 500,
 +
    insertTarget: this.selector,
 +
    insertLocation: 'insertBefore',
 +
    arrowKeys: false,
 +
    scrollToHash: true,
 +
    onInit: null,
 +
    onRender: null,
 +
    onDestroy: null
 +
});
 +
var $;
 +
var observer_target = document.querySelector('.post__article');
 +
var observer = new MutationObserver(function(mutations) {
 +
  mutations.forEach(function() {
 +
    $.fn.scrollNav('resetPos');
 +
  });
 +
});
  
 
+
  $(function(){
 
+
    $("#headerWrapper").sticky({topSpacing:51});
 +
      $("nav.scroll-nav").sticky({topSpacing:74});
 +
       
 +
  });
 +
</script>
  
  
Line 88: Line 141:
  
  
</html>
+
</html>

Latest revision as of 00:34, 5 October 2015


1

2

3

4

5

6

7

8

9

10