Difference between revisions of "Team:Valencia UPV/Templates:headUPV"
(8 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
<meta charset="utf-8" /> | <meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
− | <link rel="stylesheet" href="https://2015.igem.org/Team:Valencia_UPV/main | + | <link rel="stylesheet" href="https://2015.igem.org/Team:Valencia_UPV/main?action=raw&ctype=text/css" /> |
− | <link rel="stylesheet" type="text/css" href="https://2015.igem.org/Team:Valencia_UPV/logocolor | + | <link rel="stylesheet" type="text/css" href="https://2015.igem.org/Team:Valencia_UPV/logocolor?action=raw&ctype=text/css" /> |
+ | <!-- | ||
+ | MENTIONS | ||
+ | |||
+ | Parts of this web design come from: | ||
+ | http://html5up.net/ | ||
+ | http://tympanus.net/codrops/ | ||
+ | |||
+ | With the support of: | ||
+ | http://qubic.es | ||
+ | |||
+ | |||
+ | --> | ||
+ | <script> | ||
+ | $(document).ready(function () { | ||
+ | $(window).scroll(function () { | ||
+ | if ($(this).scrollTop() > 100) { | ||
+ | $('.scrollup').fadeIn(); | ||
+ | } else { | ||
+ | $('.scrollup').fadeOut(); | ||
+ | } | ||
+ | }); | ||
+ | $('.scrollup').click(function () { | ||
+ | $("html, body").animate({ | ||
+ | scrollTop: 0 | ||
+ | }, 600); | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</head> | </head> | ||
</html> | </html> |
Latest revision as of 00:57, 19 September 2015