Team:Manchester/Footer

From 2013.igem.org

(Difference between revisions)
Line 2: Line 2:
<html>
<html>
 +
<head>
 +
<script type='text/javascript' src="http://code.jquery.com/jquery-1.8.0.min.js"></script>
 +
<script type="text/javascript">
 +
  $(document).ready(function() {
 +
    $(window).scroll(function() {
 +
        if($(this).scrollTop() > 200) {
 +
          $(".topButton").fadeIn(200);}
 +
        else {
 +
          $(".topButton").fadeOut(200);}
 +
    });
 +
  });
 +
</script>
<style type="text/css">
<style type="text/css">
Line 11: Line 23:
color:white;
color:white;
position:fixed;
position:fixed;
-
top:500px;
+
bottom:10px;
right:270px;
right:270px;
text-align:center;
text-align:center;
Line 20: Line 32:
font-size:24px;
font-size:24px;
color:white;
color:white;
-
}
 
-
 
-
.topButton
 
-
{
 
-
 
}
}
Line 33: Line 40:
}
}
 +
</head>
</style>
</style>

Revision as of 15:21, 4 August 2013

Top