Template:Queens Canada/Header

From 2012.igem.org

(Difference between revisions)
Line 3: Line 3:
<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 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/smoothscroll?action=raw&ctype=text/js"></script>  
<style type="text/css">
<style type="text/css">
Line 305: Line 305:
</div>
</div>
 +
<a href="#header">
<div id="upbutton">
<div id="upbutton">
up
up
</div>
</div>
-
<script>
+
</a>
-
 
+
-
 
+
-
$("#upbutton").mousehold(1, function(){
+
-
   
+
-
   
+
-
window.scrollBy(0,-3);   
+
-
 
+
-
},10);
+
-
 
+
-
   
+
-
</script>
+
</html>
</html>

Revision as of 15:53, 7 June 2012

up