Zhuangpeiyue (Talk | contribs) |
Zhuangpeiyue (Talk | contribs) |
||
Line 3: | Line 3: | ||
<script> | <script> | ||
$(function(){ | $(function(){ | ||
+ | var url=window.location.pathname; | ||
+ | alert(url) | ||
$(window).on('scroll',function(){ | $(window).on('scroll',function(){ | ||
var top=$(this).scrollTop(); | var top=$(this).scrollTop(); |
Revision as of 09:45, 28 September 2017