Difference between revisions of "Team:Amoy"

Line 60: Line 60:
  
 
<a style="width:50px; height:50px; position:fixed; right:30px; bottom:30px; z-index:9999; display:none; background:url(http://demo.lanrenzhijia.com/2014/scrollTop1120/images/lanren.gif) no-repeat center center #147abc;"  href="javascript:;" class="lanrenzhijia_top"></a>
 
<a style="width:50px; height:50px; position:fixed; right:30px; bottom:30px; z-index:9999; display:none; background:url(http://demo.lanrenzhijia.com/2014/scrollTop1120/images/lanren.gif) no-repeat center center #147abc;"  href="javascript:;" class="lanrenzhijia_top"></a>
 +
 
<script>
 
<script>
 
$(function(){
 
$(function(){
Line 77: Line 78:
  
  
<a href="#menu">
+
<a class="down" href="javascript:;">
 
<div style="position: fixed; margin-top: 40px; margin-left: 20px; width: 50px; height: 30px; background: #147abc; z-index: 999; text-align: center;">
 
<div style="position: fixed; margin-top: 40px; margin-left: 20px; width: 50px; height: 30px; background: #147abc; z-index: 999; text-align: center;">
 
<p style="color: #fff">Skip</p>
 
<p style="color: #fff">Skip</p>
 
</div>
 
</div>
 
</a>
 
</a>
 +
 +
<script>
 +
$(function(){
 +
$(".down").click(function(){
 +
$("html,body").animate({scrollTop:$('#menu').offset().top},500);
 +
});
 +
});
 +
</script>
 +
  
 
<div style="margin-top: -40px;" class="crossbanenr">
 
<div style="margin-top: -40px;" class="crossbanenr">

Revision as of 08:10, 21 August 2015

Aomy

Skip

This is the scene that we're exexperimenting. This is the scene that we're exexperimenting.

Learn more >

They are our experimental results. They are our experimental results.

Learn more >