Line 1: | Line 1: | ||
{{:Team:Bielefeld-CeBiTec/Basic_Navbar}} | {{:Team:Bielefeld-CeBiTec/Basic_Navbar}} | ||
− | |||
<html> | <html> | ||
<head> | <head> | ||
− | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | + | <link rel="stylesheet" type="text/css" |
+ | href="https://2018.igem.org/Team:Bielefeld-CeBiTec/CSS?action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
+ | |||
<script> | <script> | ||
− | window.onscroll = function() {scrollFunction()}; | + | window.onscroll = function() {scrollFunction(); checkOffset();}; |
function scrollFunction() { | function scrollFunction() { | ||
Line 17: | Line 19: | ||
} | } | ||
} | } | ||
+ | |||
+ | function checkOffset() { | ||
+ | if($('#page-arrow-top').offset().top + $('#page-arrow-top').height() | ||
+ | >= $('#footer').offset().top - 10) | ||
+ | $('#page-arrow-top').css('position', 'absolute'); | ||
+ | if($(document).scrollTop() + window.innerHeight < $('#footer').offset().top) | ||
+ | $('#page-arrow-top').css('position', 'fixed'); // restore when you scroll up | ||
+ | } | ||
function topFunction() { | function topFunction() { | ||
Line 24: | Line 34: | ||
</script> | </script> | ||
+ | <style> | ||
+ | </style> | ||
</head> | </head> | ||
− | |||
<body style="height:100%";> | <body style="height:100%";> | ||
Line 110: | Line 121: | ||
</footer> | </footer> | ||
− | <img id="page-arrow-top" src="https://static.igem.org/mediawiki/2018/ | + | <img id="page-arrow-top" src="https://static.igem.org/mediawiki/2018/7/7e/T--Bielefeld-CeBiTec--top_arrow_white_vk.png" style="width:3%" onclick="topFunction()"></img> |
Revision as of 20:45, 14 October 2018
Hier Titel einfügen!!!!!!
Hier Unterüberschriften rein (falls vorhanden)!!!!
Firstname | Lastname | Age |
---|---|---|
Jill | Smith | 50 |
Eve | Jackson | 94 |
John | Doe | 80 |
References
hier Referenz eins
hier Referenz zwei
.........
hier Referenz zwei
.........