Add button for Smooth Scroll to the top / bottom

为页面添加按钮,平滑的滚动到顶部/底部

Fra 23.05.2015. Se den seneste versjonen.

Forfatter
axetroy
Vurderinger
0 0 0
Versjon
2015.5.25.1
Lagd
22.03.2015
Oppdatert
23.05.2015
Size
6,1 kB
Lisens
I/T
Gjelder
Alle sider

在页面右边添加【回到顶部】【去到底部的按钮】
脚本特点:
1,并非duang的一下,立刻达到顶部或底部,而是变加速
2,不用时,会自动移动到浏览器最右边,指向原来位置,可以还原位置
3,并没有外部链接,安全食用
ps:chrome和firefox下测试正常。如果异常,请尝试升级浏览器。

add 2 bottons in the page which can 【goTop】 and 【goBtm】
Script Feature:
1,it's not reached the top or bottom immediately , but rather accelerate change(Smooth)
2, it will automatically hide to the right, point to the original location, it will restore location
3,And there is no external links, safe to eat
ps:chrome and firefox under test is normal. If the exception, try upgrading your browser.


//更新日志============
2015.5.25-1:
修复了在chrome下,不能自动隐藏到边栏的问题(突然发现.......)