Smart‘back to top’link
FontSize:
-
+ Date: 2006年4月17日
摘要:
按当前页面的显示高度,判定是否显示"回到顶部"的一个小特效,感觉小巧,好用.本站借用了此效果.也可以看效果链接.
Back to top link’s purpose is to quickly position the viewport back to a beginning of a web page. Sometimes you have a variable height of the content and this link is unnecessary if a particular page is shorter than viewport height. With this simple JavaScript, you can hide it depending on page’s height. See the example web site示范效果.
提示:您可以先修改部分代码再运行
原文地址:http://www.maratz.com/blog/archives/2006/05/22/smart-back-to-top-link/
本文链接地址:http://www.demoseo.com/DemoSeo/Smart-back-to-top-link.html
如果你也喜欢本文,记得顶一下,支持我。你的支持是我继续发好文章的最大动力!谢谢!
Other Articles
- Rss Feeds将不再出现在Google SERP中 (2007-11-2 19:38:43)
- CSS hack:区分IE6,IE7,firefox (2007-8-8 17:39:48)
- 常见的WEB2.0网站配色 (2006-11-4 17:34:55)
- 目前较流行的几种lightbox (2006-6-6 2:43:22)
Comments
Leave a Comment
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。