如何实现使图片走马灯一样? <marquee><img src=1.gif><img src=2.gif><img src=3.gif></marquee> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <marquee><img src=1.gif></marquee> <marquee><img src="1.jpg"><img src="2.jpg"></marquee> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>连续向左滚动</title><style type="text/css"><!--body { font-size: 9pt; color: #000000;}a { color: #0000FF; text-decoration: none;}a:hover { color: #FF0000; text-decoration: underline;}--></style></head><body><div id="marquees"><a href="#">链接一</a><a href="#">链接二</a><a href="#">链接三</a><a href="#">链接四</a></div><div id="templayer" style="position:absolute;left:0;top:0;visibility:hidden"></div><script language="JavaScript">marqueesWidth=200;with(marquees){style.height=0;style.width=marqueesWidth;style.overflowX="hidden";style.overflowY="visible";noWrap=true;onmouseover=new Function("stopscroll=true");onmouseout=new Function("stopscroll=false");}preLeft=0; currentLeft=0; stopscroll=false;function init(){templayer.innerHTML="";while(templayer.offsetWidth<marqueesWidth){templayer.innerHTML+=marquees.innerHTML;}marquees.innerHTML+=templayer.innerHTML;setInterval("scrollLeft()",10);}init();function scrollLeft(){if(stopscroll==true) return;preLeft=marquees.scrollLeft;marquees.scrollLeft+=1;if(preLeft==marquees.scrollLeft){ marquees.scrollLeft=templayer.offsetWidth-marqueesWidth+1;}}</script></body></html> <marquee onmouseout=this.start() onmouseover=this.stop() scrollAmount=3><img src="1.jpg"><img src="2.jpg"><img src="3.jpg"></marquee> 自己去看:http://www.38js.com/WebAngel/Js/Js.asp?catid=18&ToPage=2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>连续向左滚动</title><style type="text/css"><!--body { font-size: 9pt; color: #000000;}a { color: #0000FF; text-decoration: none;}a:hover { color: #FF0000; text-decoration: underline;}--></style></head><body><div id="marquees"><a href="#">链接一</a><a href="#">链接二</a><a href="#">链接三</a><a href="#">链接四</a></div><div id="templayer" style="position:absolute;left:0;top:0;visibility:hidden"></div><script language="JavaScript">marqueesWidth=200;with(marquees){style.height=0;style.width=marqueesWidth;style.overflowX="hidden";style.overflowY="visible";noWrap=true;onmouseover=new Function("stopscroll=true");onmouseout=new Function("stopscroll=false");}preLeft=0; currentLeft=0; stopscroll=false;function init(){templayer.innerHTML="";while(templayer.offsetWidth<marqueesWidth){templayer.innerHTML+=marquees.innerHTML;}marquees.innerHTML+=templayer.innerHTML;setInterval("scrollLeft()",10);}init();function scrollLeft(){if(stopscroll==true) return;preLeft=marquees.scrollLeft;marquees.scrollLeft+=1;if(preLeft==marquees.scrollLeft){ marquees.scrollLeft=templayer.offsetWidth-marqueesWidth+1;}}</script></body></html> 标题: 不间断图片滚动http://www.1000script.com/script/go.asp?id=299自己去看吧 ckeditor怎么添加行距(行高)? 谁能解决这个问题,如果去掉DOCTYPE 很多功能就失效,但是又不得不加上,有什么替代语句? form里边嵌套form,如何实现流程完整无误通过? 排序问题? 发布:页面拖拽布局,数据库版Demo,望个位老师指点。。。^o^ 怎么输出成HTML代码... JSP中如何操作文件 JavaScript里有记录集的概念吗,怎么从数据库中取数据!!!!急!!!! 关于IFRAME奇怪的现象,请帮忙!急急急! 继续给分罗 当鼠标移开的时候就隐藏层的问题... IE6中控制无边窗口大小的问题。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>连续向左滚动</title>
<style type="text/css">
<!--
body {
font-size: 9pt;
color: #000000;
}
a {
color: #0000FF;
text-decoration: none;
}
a:hover {
color: #FF0000;
text-decoration: underline;
}
-->
</style>
</head><body><div id="marquees">
<a href="#">链接一</a>
<a href="#">链接二</a>
<a href="#">链接三</a>
<a href="#">链接四</a>
</div><div id="templayer" style="position:absolute;left:0;top:0;visibility:hidden"></div>
<script language="JavaScript">marqueesWidth=200;with(marquees){
style.height=0;
style.width=marqueesWidth;
style.overflowX="hidden";
style.overflowY="visible";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
preLeft=0; currentLeft=0; stopscroll=false;function init(){
templayer.innerHTML="";
while(templayer.offsetWidth<marqueesWidth){
templayer.innerHTML+=marquees.innerHTML;
}
marquees.innerHTML+=templayer.innerHTML;
setInterval("scrollLeft()",10);
}init();function scrollLeft(){
if(stopscroll==true) return;
preLeft=marquees.scrollLeft;
marquees.scrollLeft+=1;
if(preLeft==marquees.scrollLeft){
marquees.scrollLeft=templayer.offsetWidth-marqueesWidth+1;
}
}
</script>
</body>
</html>
<img src="1.jpg"><img src="2.jpg"><img src="3.jpg">
</marquee>
http://www.38js.com/WebAngel/Js/Js.asp?catid=18&ToPage=2
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>连续向左滚动</title>
<style type="text/css">
<!--
body {
font-size: 9pt;
color: #000000;
}
a {
color: #0000FF;
text-decoration: none;
}
a:hover {
color: #FF0000;
text-decoration: underline;
}
-->
</style>
</head><body><div id="marquees">
<a href="#">链接一</a>
<a href="#">链接二</a>
<a href="#">链接三</a>
<a href="#">链接四</a>
</div><div id="templayer" style="position:absolute;left:0;top:0;visibility:hidden"></div>
<script language="JavaScript">marqueesWidth=200;with(marquees){
style.height=0;
style.width=marqueesWidth;
style.overflowX="hidden";
style.overflowY="visible";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
preLeft=0; currentLeft=0; stopscroll=false;function init(){
templayer.innerHTML="";
while(templayer.offsetWidth<marqueesWidth){
templayer.innerHTML+=marquees.innerHTML;
}
marquees.innerHTML+=templayer.innerHTML;
setInterval("scrollLeft()",10);
}init();function scrollLeft(){
if(stopscroll==true) return;
preLeft=marquees.scrollLeft;
marquees.scrollLeft+=1;
if(preLeft==marquees.scrollLeft){
marquees.scrollLeft=templayer.offsetWidth-marqueesWidth+1;
}
}
</script>
</body>
</html>
自己去看吧