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="http://2012.igem.org/Team:Queens_Canada/Javascript/Mousehold?action=raw&ctype=text/js"></script>  
<script type="text/javascript" src="http://2012.igem.org/Team:Queens_Canada/Javascript/Mousehold?action=raw&ctype=text/js"></script>  
-
</head>
+
<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
+
.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 id="upbutton">
+
<div class="upbutton">
up
up
</div>
</div>
-
<script>
 
-
 
 
-
$("#upbutton").mousehold(function(){
 
-
   
 
-
   
 
-
window.scrollBy(0,-5);   
 
-
 
-
});
 
-
 
-
 
-
 
-
   
 
-
</script>
 
</html>
</html>

Revision as of 20:53, 6 June 2012

up