runxinzhi.com
首页
百度搜索
随机切换广告图片
代码如下:
<script language=JavaScript> var imgUrl=new Array(); var imgLink=new Array(); var adNum=0; imgLink[0]="Http://Dicky.8800.Org/BBS1"; imgUrl[0]="http://dicky.8800.org/bbs1/UploadFile/2005-7/2005721248396526.gif"; imgLink[1]="http://images.sohu.com/cs/sms/alumni3/minisite/6years/index.html"; imgUrl[1]="http://photocdn.sohu.com/20050706/Img226206155.gif"; imgLink[2]="http://club.chinaren.com/bbs/index.jsp?boardid=11&hotmsgid=9131684"; imgUrl[2]="http://photocdn.sohu.com/20050713/Img226293317.gif"; imgLink[3]="http://club.chinaren.com/bbs/index.jsp?boardid=16&hotmsgid=9580645"; imgUrl[3]="http://photocdn.sohu.com/20050715/Img226320025.jpg"; function playTran(){ if (document.all) imgInit.filters.revealTrans.play(); } function nextAd(){ if(adNum<imgUrl.length-1) adNum++; else adNum=0; if (document.all){ imgInit.filters.revealTrans.Transition=6; imgInit.filters.revealTrans.apply(); playTran(); } document.images.imgInit.src=imgUrl[adNum]; theTimer=setTimeout("nextAd()", 6000); } function goUrl(){ jumpUrl=imgLink[adNum]; jumpTarget='_blank'; if (jumpUrl != ''){ if (jumpTarget != '') window.open(jumpUrl,jumpTarget); else location.href=jumpUrl; } } </script> <span class="img1"><img src="javascript:nextAd()" name=imgInit onclick="goUrl()" width=120 height=160 vspace="1" border=0 style="FILTER: revealTrans(duration=2,transition=20);cursor:hand"></span></A>
[Ctrl+A 全选 提示:你可先修改部分代码,再点运行代码]
青苹果Web应用商店
https://webapp.taobao.com/
PHP/ASP.NET/ASP/UCHOME/DISCUZ! X系列网站开发,详细需求联系
QQ:8511978
相关阅读:
ubuntu10官方镜像安装硬盘自动分区失败的问题
ubuntu10的pci扩展卡驱动安装失败后检查方法
day7集合
day6字符编码
day5 dict
day4 list,tuple
day2 int,bool,str
day1
函数一
注册登录
原文地址:https://www.cnblogs.com/Dicky/p/194366.html
最新文章
ubuntu频繁死机--独立显卡问题
MySQL修改字符集
ubuntu下使用APT安装和卸载MySQL5.7
ansible模块详解
Flask配置文件
自定义Local,支持线程和协程数据访问
Flask项目结构
指定python版本创建虚拟环境
ansible
worker
热门文章
跨域问题
分配权限
python处理excel
tkinter显示C语言动态库获取的视像头视频信号
转载如何打造自定义专属Ubuntu Live CD
新建服务自启动
linux驱动匹配条件
修改uuid
apt-get安装的安装包提取路径
ubuntu的apt-get安装的安装包提取
Copyright © 2020-2023
润新知