紫嫣1963
发表于 2008-7-10 13:29
很好!学习了!
蓝天冷月
发表于 2008-7-15 17:11
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327090136_68921.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327090150_22669.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327090214_36905.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327185444_61832.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327185448_37250.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080328/20080328080636_27402.gif\";
arr=\"http://www.ivsky.com/photo/shoujipic/080328/20080328080634_29401.gif\";
arr=\"http://www.ivsky.com/photo/shoujipic/080328/20080328080616_45868.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://www.ivsky.com/photo/shoujipic/080327/20080327090144_31360.jpg\" border =0 />
蓝天冷月
发表于 2008-7-15 17:14
修改下切换时间试试
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4500;
var arr=new Array();
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327090136_68921.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327090150_22669.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327090214_36905.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327185444_61832.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080327/20080327185448_37250.jpg\";
arr=\"http://www.ivsky.com/photo/shoujipic/080328/20080328080636_27402.gif\";
arr=\"http://www.ivsky.com/photo/shoujipic/080328/20080328080634_29401.gif\";
arr=\"http://www.ivsky.com/photo/shoujipic/080328/20080328080616_45868.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://www.ivsky.com/photo/shoujipic/080327/20080327090144_31360.jpg\" border =0 />
[ 本帖最后由 蓝天冷月 于 2008-7-15 17:15 编辑 ]
morpheus
发表于 2008-7-16 18:54
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=800;
var arr=new Array();
arr=\"http://images13.51.com/111/a/82/e4/youyou02211/1199936007_47918800.gif\";
arr=\"http://pc.images22.51img1.com/6000/youyou02211/cee9d70bb5d95a009e535caf4e37db7a.jpg\";
arr=\"http://pd.images22.51img1.com/6000/youyou02211/d31d459c543bce6489dba0d7ad0db68f.jpg\";
arr=\"http://p9.images22.51img1.com/6000/youyou02211/9818dd514e1b9e0112f188e128c99ddb.jpg\";
arr=\"http://p6.images22.51img1.com/6000/youyou02211/6dd0a2e88dd684653b3b86ce8d52be7d.jpg\";
arr=\"http://p6.images22.51img1.com/6000/youyou02211/682ca68b29b49501c1098f0a34dceeb9.jpg\";
arr=\"http://p8.images22.51img1.com/6000/youyou02211/8fb1bfd381b935f8a4090930dc9663a9.jpg\";
arr=\"http://p1.images22.51img1.com/6000/youyou02211/1b3c32dc441027050e3c37a07f3f9e06.jpg\";
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://images13.51.com/111/a/82/e4/youyou02211/1199936007_47918800.gif\" border =0 />
[ 本帖最后由 morpheus 于 2008-7-16 19:00 编辑 ]
冰之漪
发表于 2008-7-26 21:08
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒
var timeInterval=4000;
var arr=new Array();
arr=\"http://www.yinhuabbs.cn/images/avatars/noavatar.gif\";
arr=\"http://bbs.e-yu.cn/attachments/month_0612/102842_UGeHbTkqPCcw.gif\";
arr=\"http://www.yinhuabbs.cn/attachments/month_0806/20080617_bc28648ff6e91de78352pOdePrFsNtCI.gif\";
arr=\"http://media.imhb.cn/homepic/2008/6/16/20080616234216_70334.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 />
wwxin
发表于 2008-7-30 19:45
wwxin
发表于 2008-7-30 19:45
skyline
发表于 2008-8-1 21:12
老师真是强悍啊,学习了!
hanwu168
发表于 2008-8-14 09:05
<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 />
<EMBED src=http://www.sevinoma.com/mp3/27.mp3 width=0 height=0 type=audio/x-ms-wma width=0 height=0 type=application/x-mplayer2 volume=\"0\" autostart=\"1\" loop=\"-1\">
<BR><BR>
<font face=\"新宋体 \"><font size=\"4\"><font color=\"Red\"><strong>代码:</strong></font></font></font><br>
<TEXTAREA name=a rows=6 cols=70 style=\"background-color: #000000;color:#ff0000;\">
<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>
[ 本帖最后由 hanwu168 于 2008-8-14 09:20 编辑 ]
hanwu168
发表于 2008-8-14 10:18
<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