Team:NTNU Trondheim/Templates/Footer

From 2012.igem.org

(Difference between revisions)
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 25: Line 25:
<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://folk.ntnu.no/oyas/igem3/extras/js/sorttable.js"></script>
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-transition.js"></script>
+
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/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/bootstrap/js/bootstrap-carousel.js"></script>
-
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap2/js/bootstrap-typeahead.js"></script>
+
<script src="http://folk.ntnu.no/oyas/igem3/bootstrap/js/bootstrap-typeahead.js"></script>
<script type="text/javascript">
<script type="text/javascript">
Line 42: Line 42:
$('.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>

Revision as of 21:05, 25 September 2012