Team:NTNU Trondheim/Templates/Footer

From 2012.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 9: Line 9:
     <div class="container">
     <div class="container">
    <p class="pull-right top-pointer"><a href="#top"><i class="icon-arrow-up"></i></a></p>
    <p class="pull-right top-pointer"><a href="#top"><i class="icon-arrow-up"></i></a></p>
-
    <p>Designed and built with MediaWiki, <a href="http://jquery.com/" target="_blank">jQuery</a> and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>.</p>
+
    <p>Designed and built with <a href="http://www.mediawiki.org/wiki/MediaWiki" target="_blank">MediaWiki</a>, <a href="http://jquery.com/" target="_blank">jQuery</a> and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>.</p>
    <p>Icons by <a href="http://http://fortawesome.github.com/Font-Awesome/" target="_blank">Font Awesome</a>.</p>
    <p>Icons by <a href="http://http://fortawesome.github.com/Font-Awesome/" target="_blank">Font Awesome</a>.</p>
    <p><br />
    <p><br />
Line 24: Line 24:
<!-- Bootstrap -->
<!-- Bootstrap -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-
<script src="http://folk.ntnu.no/oyas/igem3/extras/js/sorttable.js"></script>
+
<script src="http://oveoyas.github.io/igem-ntnu-2012/js/bootstrap.min.js"></script>
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-transition.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-alert.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-modal.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-dropdown.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-scrollspy.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-tab.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-tooltip.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-popover.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-button.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-collapse.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-carousel.js"></script>
+
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-typeahead.js"></script>
+
<script type="text/javascript">
<script type="text/javascript">
Line 42: Line 30:
$('.carousel').carousel()
$('.carousel').carousel()
</script>
</script>
-
 
-
 
-
<!-- Adding classes -->
 
-
<script type="text/javascript">
 
-
    if (document.URL == "https://2012.igem.org/Team:NTNU_Trondheim") {
 
-
        $('.main-container').addClass('index-container');
 
-
    }
 
-
    $('#toc').addClass('well well-small');
 
-
</script>
 
-
 
-
<!-- Lazy way out of reformatting all tables -->
 
-
<script type="text/javascript">
 
-
    $('table.wikitable').removeClass('wikitable').addClass('table table-striped wikitable-centered');
 
-
</script>
 
-
 
<!-- Smooth scroll to top -->
<!-- Smooth scroll to top -->
<script type="text/javascript">
<script type="text/javascript">
     $("a[href='#top']").click(function() {
     $("a[href='#top']").click(function() {
-
       $("html, body").animate({ scrollTop: 0 }, "fast");
+
       $("html, body").animate({ scrollTop: 0 }, "medium");
       return false;
       return false;
     });
     });
Line 67: Line 40:
<!-- jQuery countdown -->
<!-- jQuery countdown -->
-
<script type="text/javascript" src="http://folk.ntnu.no/oyas/igem3/extras/js/jquery.countdown.js"></script>
+
<script type="text/javascript" src="http://oveoyas.github.io/igem-ntnu-2012/js/jquery.countdown.js"></script>
<script type="text/javascript">
<script type="text/javascript">
$(function () {
$(function () {
Line 102: Line 75:
     });
     });
</script>
</script>
-
 
-
<!-- MathJax (LaTeX for the web) -->
 
-
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
-
<script type="text/x-mathjax-config">
 
-
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
 
-
    MathJax.Hub.Config({
 
-
        TeX: {
 
-
            equationNumbers: {  autoNumber: "AMS"  }
 
-
        }
 
-
    });
 
-
</script>
 
-
 
<!-- iGem wiki hacks -->
<!-- iGem wiki hacks -->
Line 139: Line 100:
             $("#heading").remove();
             $("#heading").remove();
         }
         }
 +
    });
 +
</script>
 +
 +
<!-- Fill the screen of index page on tablets -->
 +
<script type="text/javascript">
 +
    $(document).ready(function() {f
 +
    if ( $(window).width() < 1100 ) {
 +
        $('#index-collapse').addClass('span12').removeClass('span9');
 +
    }
 +
    else {
 +
        $('#index-collapse').removeClass('span12').addClass('span9');
 +
    }
     });
     });
</script>
</script>

Latest revision as of 16:11, 16 June 2013