欢迎来到福编程网,本站提供各种互联网专业知识!

用javascript实现图片马赛克后显示并切换

发布时间:2007-04-21 作者: 来源:转载
varslidespeed=3000//specifyimagesvarslideimages=newArray("http://www.blueidea.com/articleimg/upload/2006/3/5/2482150_1_7.jpg","http://www.blueidea.com/articleimg/upload/2006/3/5/2482150_2_1.jpg","http://www.blueidea.com/articleimg/uplo

varslidespeed=3000
//specifyimages
varslideimages=newArray("http://www.blueidea.com/articleimg/upload/2006/3/5/2482150_1_7.jpg","http://www.blueidea.com/articleimg/upload/2006/3/5/2482150_2_1.jpg","http://www.blueidea.com/articleimg/upload/2006/3/5/2482150_3_2.jpg")
//specifycorrespondinglinks
varslidelinks=newArray("#","#","#")
varimageholder=newArray()
varie55=window.createPopup
for(i=0;iimageholder[i]=newImage()
imageholder[i].src=slideimages[i]
}
functiongotoshow(){
window.location=slidelinks[whichlink]
}
//-->





[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

相关推荐