Line 237: | Line 237: | ||
/* Random */ | /* Random */ | ||
+ | |||
+ | .retour { | ||
+ | position: fixed; | ||
+ | bottom:20px; | ||
+ | right: 20px; | ||
+ | } | ||
+ | |||
+ | .blacklink{ | ||
+ | color: #000 | ||
+ | } | ||
.igem-container img { | .igem-container img { | ||
Line 364: | Line 374: | ||
</nav> | </nav> | ||
</header> | </header> | ||
+ | <figure class="retour"> | ||
+ | <img class = "retour no-shadow" src="https://static.igem.org/mediawiki/2017/c/c4/Ionisparis-Applied_design_-_Overview-_3.png" id="monBouton" width="5%" height="auto"> | ||
+ | <figcaption class="retour">to the top</figcaption> | ||
+ | </figure> | ||
</body> | </body> | ||
Line 384: | Line 398: | ||
<script type="text/javascript" src="https://2017.igem.org/Template:Ionis-paris-javascript-template? action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2017.igem.org/Template:Ionis-paris-javascript-template? action=raw&ctype=text/javascript"></script> | ||
+ | <script type="text/javascript">$(function(){ | ||
+ | $("#monBouton").click(function(){ | ||
+ | $("html, body").animate({scrollTop: 0},"slow"); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 20:08, 31 October 2017