![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
文章平均质量分 78
angierHu
这个作者很懒,什么都没留下…
展开
-
浮动div
可以做成浮动的公告栏 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/1999/xhtml">浮动层//var tips; var theTop = 250/*这是默认高度*/;var old = theTop;function initFloatTi转载 2012-08-23 22:50:51 · 495 阅读 · 0 评论 -
导航条固定在顶端
类似于人人网、QQ空间的导航条,主要是顶端的导航条不随滚动条的滚动而滚动 "http://www.w3.org/TR/html4/loose.dtd"> 导航条固定 body { background-attachment:fixed; background-color: #ffffff; text-align: center;原创 2012-08-23 22:18:29 · 5990 阅读 · 0 评论 -
天气预报接口API
国家气象局提供的天气预报接口接口地址: http://www.weather.com.cn/data/sk/101010100.htmlhttp://www.weather.com.cn/data/cityinfo/101010100.htmlhttp://m.weather.com.cn/data/101010100.html url中的101010100是城市代码,这里原创 2013-06-16 13:11:08 · 517 阅读 · 0 评论 -
固定转浮动DIV
固定转浮动DIV类似淘宝商品页面中,商品详情、累计评价的 导航条,最初在页面内固定,之后随着滚动条滚动导航条始终浮动在页面顶部 #top_div{ position:fixed; bottom:80px; right:0; display:none; } window.onscroll = function(原创 2013-06-18 20:55:15 · 646 阅读 · 0 评论