Difference between revisions of "Template:XJTU-China/header"

Line 76: Line 76:
 
     </header>
 
     </header>
 
</section>
 
</section>
<script type="text/javascript"
 
src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/jquery&action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript"
 
src="https://2021.igem.org/wiki/index.php?title=Template:XJTU-China/lottie&action=raw&ctype=text/javascript"></script>
 
 
<!--moving logo-->
 
<!--moving logo-->
 
<script>
 
<script>
Line 94: Line 90:
 
     $(logo).hover(function () { animation.play(); },
 
     $(logo).hover(function () { animation.play(); },
 
                 function () { animation.pause(); })
 
                 function () { animation.pause(); })
 +
    $(window).scroll(function(){
 +
        animation.play();
 +
    })
 
</script>
 
</script>
  

Revision as of 00:26, 9 July 2021