Team:Uppsala/Templates/top template
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<link rel="stylesheet" type="text/css" href="style.css"> <!-- Link that works localy, does NOT work in mediawiki --> | <link rel="stylesheet" type="text/css" href="style.css"> <!-- Link that works localy, does NOT work in mediawiki --> | ||
- | |||
- | |||
<link href="https://2014.igem.org/Team:Uppsala/sponsors.css?action=raw&ctype=text/css" type="text/css" rel="stylesheet"> <!-- STYLESHEET THAT CONTAINS THE CSS RESET, MUST BE INCLUDED!!! --> | <link href="https://2014.igem.org/Team:Uppsala/sponsors.css?action=raw&ctype=text/css" type="text/css" rel="stylesheet"> <!-- STYLESHEET THAT CONTAINS THE CSS RESET, MUST BE INCLUDED!!! --> | ||
Line 17: | Line 15: | ||
<link href="https://2014.igem.org/Team:Uppsala/navbar.css?action=raw&ctype=text/css" type="text/css" | <link href="https://2014.igem.org/Team:Uppsala/navbar.css?action=raw&ctype=text/css" type="text/css" | ||
rel="stylesheet"> <!-- STYLESHEET THAT CONTAINS THE NAVBAR CSS, MUST BE INCLUDED!!! --> | rel="stylesheet"> <!-- STYLESHEET THAT CONTAINS THE NAVBAR CSS, MUST BE INCLUDED!!! --> | ||
- | |||
- | |||
<link href="https://2014.igem.org/Team:Uppsala/stylesheet.css?action=raw&ctype=text/css" type="text/css" rel="stylesheet"> <!-- STYLESHEET THAT CONTAINS MAIN_CONTENT AND GENERAL STUFF, MUST BE INCLUDED!!! --> | <link href="https://2014.igem.org/Team:Uppsala/stylesheet.css?action=raw&ctype=text/css" type="text/css" rel="stylesheet"> <!-- STYLESHEET THAT CONTAINS MAIN_CONTENT AND GENERAL STUFF, MUST BE INCLUDED!!! --> | ||
Line 34: | Line 30: | ||
</head> | </head> | ||
- | + | <body> | |
Line 111: | Line 107: | ||
}); | }); | ||
})(); | })(); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | |||
+ | $(document).ready(function (){ | ||
+ | var stats = $('.back-to-top'), | ||
+ | timer; | ||
+ | stats.hide(); | ||
+ | |||
+ | $(function () { | ||
+ | $(window).scroll(function() { | ||
+ | stats.fadeIn(); | ||
+ | clearTimeout(timer); | ||
+ | timer = setTimeout(function() { | ||
+ | stats.stop(true,true).fadeOut('slow'); | ||
+ | }, 3000); | ||
+ | |||
+ | }); | ||
+ | $('.back-to-top').click(function () { | ||
+ | $('body,html').animate({ | ||
+ | scrollTop: 0 | ||
+ | }, 800); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
Line 118: | Line 141: | ||
<!-- Content for the page should be put here, 3 on the picture (Mainpage) --> | <!-- Content for the page should be put here, 3 on the picture (Mainpage) --> | ||
<div> | <div> | ||
+ | </body> | ||
</html> | </html> |
Revision as of 14:30, 15 July 2014
Stephanie Herman
Teresa Reinli
Joakim Hellner
Alexander Virtanen
Jennifer Rosenius
Marcus Hong
Miranda Stiernborg
Tim Hagelby Edström
Viktor Blomkvist
Megha Biradar
Niklas Handin
Jonas Mattisson
Arina Gromov
Nils Anlind
Eric Sandström
Gunta Celma
Oliver Possnert
Martin Friberg
Kira Karlsson
Christoffer Andersson
Laura Pacoste
Andries Willem Boers