Template:Queens Canada/Header
From 2012.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<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> | ||
- | </ | + | <script type="text/javascript"> |
+ | |||
+ | $(".upbutton").mousehold(function(){ | ||
+ | |||
+ | |||
+ | window.scrollBy(0,-5); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 277: | Line 287: | ||
color: #eee; | color: #eee; | ||
} | } | ||
- | + | .upbutton | |
{ | { | ||
background-color:DarkGreen; | background-color:DarkGreen; | ||
Line 295: | Line 305: | ||
} | } | ||
</style> | </style> | ||
- | + | </head> | |
<div id="header"> | <div id="header"> | ||
<p align="center"> | <p align="center"> | ||
Line 306: | Line 316: | ||
</div> | </div> | ||
- | <div | + | <div class="upbutton"> |
up | up | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</html> | </html> |
Revision as of 20:53, 6 June 2012