Team:NTNU Trondheim/Templates/Footer

From 2012.igem.org

(Difference between revisions)
 
(14 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>
-
+
 
<!-- 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;
     });
     });
-
</script>
 
-
 
-
<!-- Highlighting active page-->
 
-
<script type="text/javascript">
 
-
$(function(){
 
-
$page = jQuery.url.attr("file");
 
-
if(!$page) {
 
-
$page = 'index.html';
 
-
}
 
-
$('#navigation li a').each(function(){
 
-
var $href = $(this).attr('href');
 
-
if ( ($href == $page) || ($href == '') ) {
 
-
$(this).addClass('active');
 
-
} else {
 
-
$(this).removeClass('active');
 
-
}
 
-
});
 
-
});
 
</script>
</script>
<!-- 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 105: 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 142: 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