Team:NTNU Trondheim/Templates/Footer
From 2012.igem.org
(Difference between revisions)
(25 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
</div><!-- /container --> | </div><!-- /container --> | ||
Line 10: | 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 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:// | + | <script src="http://oveoyas.github.io/igem-ntnu-2012/js/bootstrap.min.js"></script> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 43: | 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 }, " | + | $("html, body").animate({ scrollTop: 0 }, "medium"); |
return false; | return false; | ||
}); | }); | ||
Line 71: | Line 40: | ||
<!-- jQuery countdown --> | <!-- jQuery countdown --> | ||
- | <script type="text/javascript" src="http:// | + | <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 106: | Line 75: | ||
}); | }); | ||
</script> | </script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<!-- iGem wiki hacks --> | <!-- iGem wiki hacks --> | ||
Line 143: | 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