Template:Queens Canada/Header
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | |||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script> | ||
<script src="http://konamicodesites.s3.amazonaws.com/javascripts/all.js" type="text/javascript"></script> | <script src="http://konamicodesites.s3.amazonaws.com/javascripts/all.js" type="text/javascript"></script> | ||
<script type="text/javascript" src="https://2012.igem.org/Team:Queens_Canada/Javascript/Mousehold?action=raw&ctype=text/js"></script> | <script type="text/javascript" src="https://2012.igem.org/Team:Queens_Canada/Javascript/Mousehold?action=raw&ctype=text/js"></script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
Line 287: | Line 277: | ||
color: #eee; | color: #eee; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</style> | </style> | ||
</head> | </head> | ||
Line 316: | Line 290: | ||
</div> | </div> | ||
- | <div | + | <div id="upbutton" style="background-color:DarkGreen; |
- | + | -khtml-border-radius: 10px; | |
+ | -moz-border-radius: 10px; | ||
+ | border-radius: 10px; | ||
+ | -moz-box-shadow: 3px 3px 4px #000; | ||
+ | -webkit-box-shadow: 3px 3px 4px #000; | ||
+ | box-shadow: 3px 3px 4px #000; | ||
+ | right: 5px; | ||
+ | bottom: 5px; | ||
+ | position: fixed; | ||
+ | padding: 10px; | ||
+ | color: white; | ||
+ | font-weight: bold; | ||
+ | font-size: 3em;"> | ||
up | up | ||
</div> | </div> | ||
- | < | + | <script> |
+ | $("#upbutton").mousehold(function(){ | ||
+ | |||
+ | |||
+ | window.scrollBy(0,-10); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | </script> | ||
</html> | </html> |
Revision as of 14:08, 7 June 2012