
BOM对象
文章平均质量分 65
信管1134-22
种树的最好时间是十年前,其次是现在
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
DOM对象--类似页面左右两侧的广告
html代码: ×//X号 style代码://设置div的位置,X号的样式 #div1{ display: none; float: left; position: fixed; margin-top: 200px; cursor:pointer; } #div1 img{ /*display: none;原创 2016-09-03 16:24:15 · 430 阅读 · 0 评论 -
DOM对象--返回顶部的控件、
当滚动条超过一定范围,就出现返回顶部的控件。 html代码: input type="text" id="pos"> button id="toTop">返回指定滚动条的位置button> style代码://返回顶部控件的样式. #top{display: none;position: fixed;right: 0;bottom: 0;padding: 10px;background原创 2016-09-03 15:01:26 · 377 阅读 · 0 评论