昨晚德国和葡萄牙的焦点之战你看了吗?北京时间凌晨的比赛中,C罗领衔的葡萄牙0-4德国被完灭……他是金球奖得主、欧洲金靴、欧冠冠军核心,在葡萄牙队……9张图 C罗告诉你什么叫欲哭无泪
复制代码 代码如下:
<span style="font-size:14px;"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Scroll Image</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style type="text/css">
body
{
font-size:12px;
font-family: "Microsoft Yahei",'微软雅黑','SimSun','宋体';
margin: 0px;
padding:0px;
text-align: center;
}
img
{
width: 150px;
height: 150px;
}
.news_root
{
width: 225px;
height: 134px;
text-align: left;
margin: 0 auto;
}
div .news_header
{
width: 243px;
height: 16px;
vertical-align: top;
text-align: left;
font-size: 14px;
padding: 6px;
}
#scrollContainer
{
width: 345px;
margin: 2px 5px;
overflow: hidden;
text-align: left;
}
</style>
</head>
<body>
<div class="news_root">
<div class="news_header">C罗不哭,加油</div>
<div id="scrollContainer">
<div id="scrollContent">
<table border="0">
<tr align="middle">
<td id="firstCol">
<table border="0">
<tr>
<td><img src="/UploadFiles/2021-04-02/c1.jpg"><td><img src="c2.jpg"><td><img src="c3.jpg"><td><img src="c4.jpg"><td><img src="c5.jpg"><td><img src="c6.jpg"><td><img src="c7.jpg"><td><img src="c8.jpg"><td><img src="c9.jpg"></tr>
</table>
</td>
<td id="lastCol"></td>
</tr>
</table>
</div>
</div>
</div>
<script type="text/javascript">
var stopscroll = false;
var scrollContHeight = 155;
var scrollContWidth = 300;
var scrollSpeed = 25;
var scrollContainer = document.getElementById('scrollContainer');
var scrollContent = document.getElementById('scrollContent');
var firstCol = document.getElementById('firstCol');
var lastCol = document.getElementById('lastCol');
//将第一列的内容复制到第二列,让滚动看起来连续
lastCol.innerHTML = firstCol.innerHTML;
scrollContainer.style.width = scrollContWidth+"px";
scrollContainer.style.height = scrollContHeight+"px";
scrollContainer.noWrap = true;
scrollContainer.onmouseover = new Function("stopscroll=true;");
scrollContainer.onmouseout = new Function("stopscroll=false;");
function init()
{
scrollContainer.scrollLeft = 0;
setInterval(scrollLeft1,scrollSpeed);
}
init();
var currleft = 0;
function scrollLeft1()
{
if(stopscroll == true) return;
currleft = scrollContainer.scrollLeft;
scrollContainer.scrollLeft += 1;
if(currleft == scrollContainer.scrollLeft)
{
scrollContainer.scrollLeft = 0;
scrollContainer.scrollLeft += 1;
}
}
</script>
</body>
</html></span>
源码下载
复制代码 代码如下:
<span style="font-size:14px;"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Scroll Image</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style type="text/css">
body
{
font-size:12px;
font-family: "Microsoft Yahei",'微软雅黑','SimSun','宋体';
margin: 0px;
padding:0px;
text-align: center;
}
img
{
width: 150px;
height: 150px;
}
.news_root
{
width: 225px;
height: 134px;
text-align: left;
margin: 0 auto;
}
div .news_header
{
width: 243px;
height: 16px;
vertical-align: top;
text-align: left;
font-size: 14px;
padding: 6px;
}
#scrollContainer
{
width: 345px;
margin: 2px 5px;
overflow: hidden;
text-align: left;
}
</style>
</head>
<body>
<div class="news_root">
<div class="news_header">C罗不哭,加油</div>
<div id="scrollContainer">
<div id="scrollContent">
<table border="0">
<tr align="middle">
<td id="firstCol">
<table border="0">
<tr>
<td><img src="/UploadFiles/2021-04-02/c1.jpg"><td><img src="c2.jpg"><td><img src="c3.jpg"><td><img src="c4.jpg"><td><img src="c5.jpg"><td><img src="c6.jpg"><td><img src="c7.jpg"><td><img src="c8.jpg"><td><img src="c9.jpg"></tr>
</table>
</td>
<td id="lastCol"></td>
</tr>
</table>
</div>
</div>
</div>
<script type="text/javascript">
var stopscroll = false;
var scrollContHeight = 155;
var scrollContWidth = 300;
var scrollSpeed = 25;
var scrollContainer = document.getElementById('scrollContainer');
var scrollContent = document.getElementById('scrollContent');
var firstCol = document.getElementById('firstCol');
var lastCol = document.getElementById('lastCol');
//将第一列的内容复制到第二列,让滚动看起来连续
lastCol.innerHTML = firstCol.innerHTML;
scrollContainer.style.width = scrollContWidth+"px";
scrollContainer.style.height = scrollContHeight+"px";
scrollContainer.noWrap = true;
scrollContainer.onmouseover = new Function("stopscroll=true;");
scrollContainer.onmouseout = new Function("stopscroll=false;");
function init()
{
scrollContainer.scrollLeft = 0;
setInterval(scrollLeft1,scrollSpeed);
}
init();
var currleft = 0;
function scrollLeft1()
{
if(stopscroll == true) return;
currleft = scrollContainer.scrollLeft;
scrollContainer.scrollLeft += 1;
if(currleft == scrollContainer.scrollLeft)
{
scrollContainer.scrollLeft = 0;
scrollContainer.scrollLeft += 1;
}
}
</script>
</body>
</html></span>
源码下载
华山资源网 Design By www.eoogi.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
华山资源网 Design By www.eoogi.com
暂无评论...
更新日志
2024年11月18日
2024年11月18日
- 周华健.2015-水浒三部曲原创音乐选辑【滚石】【FLAC分轨】
- 钟志刚《为爱而歌DSD》[WAV+CUE]
- 孙露《情人的眼泪》[低速原抓WAV+CUE]
- 【雨果唱片】刘明源《胡琴专辑》1993[WAV+CUE]
- 黄莺莺《25周年纪念金曲专辑》[WAV+CUE][1.1G]
- 刘德丽《刘德丽新曲+精选》2023[WAV+CUE][1G]
- 潘美辰《鹰与月》双语专辑[WAV+CUE][1G]
- 梁咏琪.2007-女色新曲+精选2CD【华纳】【WAV+CUE】
- 黎亚.2006-我不在巴黎【星外星】【FLAC分轨】
- 陈洁仪.1994-心痛【立得唱片】【WAV+CUE】
- 车载必备专用超级选曲《劲爆中文DJ》2CD[WAV+CUE]
- 群星《民歌流淌60年(黑胶CD)》2CD[WAV+分轨]
- 群星《美丽时光》紫银合金AQCD[WAV+CUE]
- 群星《12大巨星畅销精选集》[WAV分轨][1.1G]
- 华语排行冠军曲《百事音乐风云榜》[WAV+CUE][1G]