乌有之乡图片轮播
来源:互联网 发布:加工中心螺纹编程实例 编辑:程序博客网 时间:2024/04/30 05:23
<script language="JavaScript">
<!--
var navigatorName = "Microsoft Internet Explorer";
var isIE = false;
if(navigator.appName==navigatorName) isIE = true;
function objSP_Article() {this.ImgUrl=""; this.LinkUrl=""; this.Title="";}
function SlidePic_Article(_id) {this.ID=_id; this.Width=0;this.Height=0; this.TimeOut=5000; this.Effect=23; this.TitleLen=0; this.PicNum=-1; this.Img=null; this.Url=null; this.Title=null; this.AllPic=new Array(); this.Add=SlidePic_Article_Add; this.Show=SlidePic_Article_Show; this.LoopShow=SlidePic_Article_LoopShow;}
function SlidePic_Article_Add(_SP) {this.AllPic[this.AllPic.length] = _SP;}
function SlidePic_Article_Show() {
if(this.AllPic[0] == null) return false;
document.write("<div align='center'><a id='Url_" + this.ID + "' href='' target='_blank'><img id='Img_" + this.ID + "' style='width:" + this.Width + "px; height:" + this.Height + "px; filter: revealTrans(duration=2,transition=23);' src='javascript:null' border='0'></a>");
if(this.TitleLen != 0) {document.write("<br><span id='Title_" + this.ID + "'></span></div>");}
else{document.write("</div>");}
this.Img = document.getElementById("Img_" + this.ID);
this.Url = document.getElementById("Url_" + this.ID);
this.Title = document.getElementById("Title_" + this.ID);
this.LoopShow();
}
function SlidePic_Article_LoopShow() {
if(this.PicNum<this.AllPic.length-1) this.PicNum++ ;
else this.PicNum=0;
if(isIE==true){
this.Img.filters.revealTrans.Transition=this.Effect;
this.Img.filters.revealTrans.apply();
}
this.Img.src=this.AllPic[this.PicNum].ImgUrl;
if(isIE==true){
this.Img.filters.revealTrans.play();
}
this.Url.href=this.AllPic[this.PicNum].LinkUrl;
if(this.Title) this.Title.innerHTML="<a href="+this.AllPic[this.PicNum].LinkUrl+" target='_blank'>"+this.AllPic[this.PicNum].Title+"</a>";
this.Img.timer=setTimeout(this.ID+".LoopShow()",this.TimeOut);
}
//-->
</script>
<script language=JavaScript>
<!--
var SlidePic_243 = new SlidePic_Article("SlidePic_243");
SlidePic_243.Width = 378;
SlidePic_243.Height = 223;
SlidePic_243.TimeOut = 5000;
SlidePic_243.Effect = 23;
SlidePic_243.TitleLen = 30;
var oSP = new objSP_Article();
oSP.ImgUrl = "http://www.wyzxsx.com/Article/UploadFiles/201007/2010073113573982.jpg";
oSP.LinkUrl = "http://www.wyzxsx.com/Article/Class20/201007/169539.html";
oSP.Title = "郑彪:读懂西方 看透美国";
SlidePic_243.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "http://image2.sina.com.cn/jc/2005-06-03/U28P27T1D293939F3DT20050603173503.jpg";
oSP.LinkUrl = "http://www.wyzxsx.com/Article/Class14/201007/169157.html";
oSP.Title = "鼓吹美使中国免遭苏联核打击 凤凰…";
SlidePic_243.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "http://www.wyzxsx.com/Article/UploadFiles/201007/2010072414522080.jpg";
oSP.LinkUrl = "http://www.wyzxsx.com/Article/Class4/201007/168078.html";
oSP.Title = "田义:“转基因”大屠杀及农业部…";
SlidePic_243.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "http://www.wyzxsx.com/Article/UploadFiles/201007/2010072411452026.jpg";
oSP.LinkUrl = "http://www.wyzxsx.com/Article/Class10/201007/168035.html";
oSP.Title = "只有毛泽东路线才能挫败美国统治…";
SlidePic_243.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "http://www.wyzxsx.com/Article/UploadFiles/201007/2010072221301513.jpg";
oSP.LinkUrl = "http://www.wyzxsx.com/Article/Class10/201007/167672.html";
oSP.Title = "《决战朝鲜》--细腻体察毛泽东出…";
SlidePic_243.Add(oSP);
SlidePic_243.Show();
//-->
</script>
- 乌有之乡图片轮播
- 乌有之乡,一堆狗屎!
- 乌有之乡热点文章收藏
- 乌有之乡是中国社会发展的毒瘤
- 图片轮播之无限轮播
- 图片轮播之自动轮播
- js之图片轮播
- Android之本地图片轮播(广告轮播)
- jquery特效之图片轮播
- Web前端框架之图片轮播
- object-c之scrollView图片轮播
- iOS开发之无限轮播图片
- iOS之图片轮播代码共享
- Bootstrap学习之五:图片轮播
- 无限轮播之网络图片
- 小程序控件之轮播图片
- Unity之图片轮播组件实现
- JavaScript 动画之图片轮播
- PHP备份数据库的原理和方法
- CDC *pDC HDC hDC 的区别
- The Answer after 10th IMS
- delp控制Word
- 新的开始
- 乌有之乡图片轮播
- RS-232/RS-485/RS-422 接口简介与编程
- 在程序中动态改变控件的背景颜色
- 不容易啊
- 今日小记10-8-1
- poj 1147 BWT压缩方法
- 电脑关机出现对话框,要求确认或取消,怎么回事?
- windows/linux code convert
- asis 1.4入门