欢迎各位兄弟 发布技术文章
这里的技术是共享的
<html lang="en-US"> <head> <meta charset="UTF-8"> <title>menu</title> <style type="text/css"> body { height: 1111px; } </style> <script type="text/javascript" src="jquery-1.8.0.min.js"></script> <script type="text/javascript"> $ (window).scroll (function () { $ (this).scrollTop (0) }); $ (function () { $ (":button").click (function () { $ (window).unbind ('scroll'); }) }); </script> </head> <body> <button>scroll</button> </body> </html> 来自 https://zhidao.baidu.com/question/1754934536273870948.html?skiptype=2