资源预览内容
第1页 / 共4页
第2页 / 共4页
第3页 / 共4页
第4页 / 共4页
亲,该文档总共4页全部预览完了,如果喜欢就下载吧!
资源描述
职坐标www.zhizuobiao.com无缝滚动框的制作 无缝滚动框 *margin:0px;padding:0px; #container width:420px; margin:50px auto; border:1px solid #ccc; #main height:220px; overflow: hidden; padding:0 10px; width:400px; #top height:30px; line-height: 30px; padding-left:30px; background:pink url(img/1.gif) no-repeat 5px center; #bottom height:104px; background: url(img/2.jpg); li height:30px; line-height: 30px; border-bottom: 1px dashed; window.onload = function () var omain = document.getElementById(main); var obox1 = document.getElementById(box1); var obox2 = document.getElementById(box2); obox2.innerHTML = obox1.innerHTML; var timer = null; function move() timer = setInterval(function() if( omain.scrollTop = obox1.clientHeight) omain.scrollTop = 0; omain.scrollTop+; ,30); move(); omain.onmouseover = function() if(timer != null)clearInterval(timer); omain.onmouseout = function () move(); 书讯快递 1、视觉的魅力 2、人才举荐奖励办法 3、国内差旅费的报销费规定 4、公司报销费规定 5、公司员工国内差旅费的报销费规定 6、2014版公司规章制度 7、公司员工移动通讯费的报销 8、公司员工名单 9、员工管理规定 10、公司员工移动通讯费 11、公司员工国内差旅费的报销费规定 12、2014版公司规章制度 13、公司员工移动通讯费的报销 14、公司员工移动的报销 15、公司员工移动通讯费 16、公司员工移动通讯费
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号