昨晚德国和葡萄牙的焦点之战你看了吗?北京时间凌晨的比赛中,C罗领衔的葡萄牙0-4德国被完灭……他是金球奖得主、欧洲金靴、欧冠冠军核心,在葡萄牙队……9张图 C罗告诉你什么叫欲哭无泪 复制代码 代码如下: Scroll Image <BR>body <BR>{ <BR>font-size:12px; <BR>font-family: "Microsoft Yahei",'微软雅黑','SimSun','宋体'; <BR>margin: 0px; <BR>padding:0px; <BR>text-align: center; <BR>} <BR>img <BR>{ <BR>width: 150px; <BR>height: 150px; <BR>} <BR>.news_root <BR>{ <BR>width: 225px; <BR>height: 134px; <BR>text-align: left; <BR>margin: 0 auto; <BR>} <BR>div .news_header <BR>{ <BR>width: 243px; <BR>height: 16px; <BR>vertical-align: top; <BR>text-align: left; <BR>font-size: 14px; <BR>padding: 6px; <BR>} <BR>#scrollContainer <BR>{ <BR>width: 345px; <BR>margin: 2px 5px; <BR>overflow: hidden; <BR>text-align: left; <BR>} <BR> C罗不哭,加油 <BR>var stopscroll = false; <BR>var scrollContHeight = 155; <BR>var scrollContWidth = 300; <BR>var scrollSpeed = 25; <br><br>var scrollContainer = document.getElementById('scrollContainer'); <BR>var scrollContent = document.getElementById('scrollContent'); <BR>var firstCol = document.getElementById('firstCol'); <BR>var lastCol = document.getElementById('lastCol'); <br><br>//将第一列的内容复制到第二列,让滚动看起来连续 <BR>lastCol.innerHTML = firstCol.innerHTML; <BR>scrollContainer.style.width = scrollContWidth+"px"; <BR>scrollContainer.style.height = scrollContHeight+"px"; <BR>scrollContainer.noWrap = true; <BR>scrollContainer.onmouseover = new Function("stopscroll=true;"); <BR>scrollContainer.onmouseout = new Function("stopscroll=false;"); <br><br>function init() <BR>{ <BR>scrollContainer.scrollLeft = 0; <BR>setInterval(scrollLeft1,scrollSpeed); <BR>} <BR>init(); <BR>var currleft = 0; <BR>function scrollLeft1() <BR>{ <BR>if(stopscroll == true) return; <BR>currleft = scrollContainer.scrollLeft; <BR>scrollContainer.scrollLeft += 1; <BR>if(currleft == scrollContainer.scrollLeft) <BR>{ <BR>scrollContainer.scrollLeft = 0; <BR>scrollContainer.scrollLeft += 1; <BR>} <BR>} <BR> 源码下载