Difference between revisions of "Team:Heidelberg/PiratesCorner"

Line 11: Line 11:
 
<script type="text/javascript" src="https://2015.igem.org/Template:Heidelberg/js/primer?action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript" src="https://2015.igem.org/Template:Heidelberg/js/primer?action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript">
 
<script type="text/javascript">
 
    $(document).ready(function () {
 
        var pos_menu;
 
        /*
 
        pos_menu = $('.container-fluid > .menu').offset().top;
 
        var pos_title = $('.container-fluid > .title').offset().top;
 
        $descidold = '';
 
        $panelid = '#1001';
 
        $(window).scroll(function () {
 
            var scroll_top = $(window).scrollTop();
 
 
            if (scroll_top > (pos_title - 42)) {
 
                $('.container-fluid > .title').css({ 'position': 'fixed', 'top': '45px', 'margin-left': 'auto' });
 
            } else {
 
                $('.container-fluid > .title').css({ 'position': 'relative', 'top': '0px' });
 
            }
 
 
            if (scroll_top > pos_menu) {
 
                $('.container-fluid > .menu').css({ 'position': 'fixed', 'top': '0px', 'margin-left': 'auto' });
 
            } else {
 
                $('.container-fluid > .menu').css({ 'position': 'relative', 'top': '0px' });
 
            }
 
        });
 
        */
 
    });
 
  
 
     $(function() {
 
     $(function() {

Revision as of 08:13, 18 September 2015