千寻雪
发表于 2008-5-15 15:59
看不懂。。。
晴儿
发表于 2008-5-15 17:11
学习一下,谢谢~
晴儿
发表于 2008-5-15 17:13
可是,我没看懂,不知怎么用啊?
Lost!
发表于 2008-5-15 21:02
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\";
arr=\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\";
arr=\"http://www.sucai86.com/sucai/28/1220054995646.gif\";
arr=\"http://www.sucai86.com/sucai/28/132005326174044.gif\";
arr=\"http://www.sucai86.com/sucai/28/22005326174235.gif\";
arr=\"http://www.sucai86.com/sucai/28/142005326173950.gif\";
arr=\"http://www.dabaoku.com/gif/dongwu/055/014n.gif\";
arr=\"http://www.sucai86.com/sucai/28/72005328101742.gif\";
setInterval(changeImg,timeInterval);
function changeImg()
{
var obj=document.getElementById(\"obj\");
if (curIndex==arr.length-1)
{
curIndex=0;
}
else
{
curIndex+=1;
}
obj.src=arr;
}
</script>
<img id=obj src =\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\" border =0 />
试试,要写成网页文件调用嘛?
huasheng123
发表于 2008-5-17 23:32
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\";
arr=\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\";
arr=\"http://www.sucai86.com/sucai/28/1220054995646.gif\";
arr=\"http://www.sucai86.com/sucai/28/132005326174044.gif\";
arr=\"http://www.sucai86.com/sucai/28/22005326174235.gif\";
arr=\"http://www.sucai86.com/sucai/28/142005326173950.gif\";
arr=\"http://www.dabaoku.com/gif/dongwu/055/014n.gif\";
arr=\"http://www.sucai86.com/sucai/28/72005328101742.gif\";
setInterval(changeImg,timeInterval);
function changeImg()
{
var obj=document.getElementById(\"obj\");
if (curIndex==arr.length-1)
{
curIndex=0;
}
else
{
curIndex+=1;
}
obj.src=arr;
}
</script>
<img id=obj src =\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\" border =0 />
huasheng123
发表于 2008-5-17 23:33
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\";
arr=\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\";
arr=\"http://www.sucai86.com/sucai/28/1220054995646.gif\";
arr=\"http://www.sucai86.com/sucai/28/132005326174044.gif\";
arr=\"http://www.sucai86.com/sucai/28/22005326174235.gif\";
arr=\"http://www.sucai86.com/sucai/28/142005326173950.gif\";
arr=\"http://www.dabaoku.com/gif/dongwu/055/014n.gif\";
arr=\"http://www.sucai86.com/sucai/28/72005328101742.gif\";
setInterval(changeImg,timeInterval);
function changeImg()
{
var obj=document.getElementById(\"obj\");
if (curIndex==arr.length-1)
{
curIndex=0;
}
else
{
curIndex+=1;
}
obj.src=arr;
}
</script>
<img id=obj src =\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\" border =0 />
huasheng123
发表于 2008-5-17 23:34
晕 两个都是兔子 就 抓不住只狗狗
逆水行舟
发表于 2008-5-21 13:47
好东东真多!这里太好了一时半会没搞懂,看来要花时间学习了。谢谢了
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\";
arr=\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\";
arr=\"http://www.sucai86.com/sucai/28/1220054995646.gif\";
arr=\"http://www.sucai86.com/sucai/28/132005326174044.gif\";
arr=\"http://www.sucai86.com/sucai/28/22005326174235.gif\";
arr=\"http://www.sucai86.com/sucai/28/142005326173950.gif\";
arr=\"http://www.dabaoku.com/gif/dongwu/055/014n.gif\";
arr=\"http://www.sucai86.com/sucai/28/72005328101742.gif\";
setInterval(changeImg,timeInterval);
function changeImg()
{
var obj=document.getElementById(\"obj\");
if (curIndex==arr.length-1)
{
curIndex=0;
}
else
{
curIndex+=1;
}
obj.src=arr;
}
</script>
<img id=obj src =\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\" border =0 />
[ 本帖最后由 逆水行舟 于 2008-5-21 13:55 编辑 ]
丹顶鹤
发表于 2008-5-26 00:06
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\";
arr=\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\";
arr=\"http://www.sucai86.com/sucai/28/1220054995646.gif\";
arr=\"http://www.sucai86.com/sucai/28/132005326174044.gif\";
arr=\"http://www.sucai86.com/sucai/28/22005326174235.gif\";
arr=\"http://www.sucai86.com/sucai/28/142005326173950.gif\";
arr=\"http://www.dabaoku.com/gif/dongwu/055/014n.gif\";
arr=\"http://www.sucai86.com/sucai/28/72005328101742.gif\";
setInterval(changeImg,timeInterval);
function changeImg()
{
var obj=document.getElementById(\"obj\");
if (curIndex==arr.length-1)
{
curIndex=0;
}
else
{
curIndex+=1;
}
obj.src=arr;
}
</script>
<img id=obj src =\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\" border =0 />
花落
发表于 2008-5-26 17:13
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\\";
arr=\\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\\";
arr=\\"http://www.sucai86.com/sucai/28/1220054995646.gif\\";
arr=\\"http://www.sucai86.com/sucai/28/132005326174044.gif\\";
arr=\\"http://www.sucai86.com/sucai/28/22005326174235.gif\\";
arr=\\"http://www.sucai86.com/sucai/28/142005326173950.gif\\";
arr=\\"http://www.dabaoku.com/gif/dongwu/055/014n.gif\\";
arr=\\"http://www.sucai86.com/sucai/28/72005328101742.gif\\";
setInterval(changeImg,timeInterval);
function changeImg()
{
var obj=document.getElementById(\\"obj\\");
if (curIndex==arr.length-1)
{
curIndex=0;
}
else
{
curIndex+=1;
}
obj.src=arr;
}
</script>
<img id=obj src =\\"http://bbs.e-yu.cn/attachments/month_0706/20070628_95e05674a8bf443e1576RwrnlVnuVl6h.gif\\" border =0 />
页:
1
2
3
4
[5]
6
7
8
9
10