try to chnage the last few lines to (didn't test your images, so it may not work):
document.write("<a href="+gu[1]+" target=_blank><img name=gn src="+gi[1]+" width=400 height=70 border=0 style='filter:alpha(opacity=0)' onload='fade()'></a>");
setInterval("ga()",10000)
document.write("<a href="+gu[1]+" target=_blank><img name=gn src="+gi[1]+" width=400 height=70 border=0 style='filter:alpha(opacity=0)' onload='fade()'></a>");
setInterval("ga()",10000)
解决方案 »
- 请教用户密码(注册信息)加密问题?
- 我已经有字符流了,请问怎么把字符流存储到mssql数据表的image字段里?不会的来捧个人场也好
- 把ASP代码转换为ASP.NET的
- 求救: 网站慢问题
- 多次绑定的GridView问题
- 一个检测用户 服务器端 是否注册的问题!
- 各位,请帮忙!!水晶报表 工具栏 只能缩放一次问题!
- 利用“IE自带的WebBrowser控件实现打印”如何在后台进行设置?
- 请教;用C#作的asp.net web连接oracle数据库程序运行后,web页在点击插入数据后,数据邦定也能跟着刷新数据问题
- 关于DataDrid控件的问题,在线等待!
- 【公务贴:游街示众】朋友,请别这样...倒分真的让人很伤心
- 怎么才能创建一个对象,然后各个页面都能用?
<body > <script>//程序设计:虹雨 网址:http://chy.126.comvar b = 1;var c = true;var gu=new Array()
gu[1]="http://99jyh.szhouse.com"
gu[2]="http://www.pengbo.com/bh/hai.htm"
gu[3]="http://www.szhouse.com/tbgs/qqsz/index.htm"
var gi=new Array()gi[1]="1.gif"
gi[2]="2.jpg"
gi[3]="http://99jyh.szhouse.com/jyh.gif"
gl=document.links.length;
gc=1
function ga(){
if(++gc==gu.length)gc=1
document.gn.src=gi[gc]
document.links[gl].href=gu[gc]
}
function fade(){
if(document.all);
if(c == true) {
b++;
}
if(b==100) {
b--;
c = false
}
if(b==10) {
b++;
c = true;
}
if(c == false) {
b--;
}
gn.filters.alpha.opacity=0 + b;
setTimeout("fade()",50);
}document.write("<a href='"+gu[1]+"' target=_blank><img name=gn src='"+gi[1]+"' width=400 height=70 border=0 style='filter:alpha(opacity=0)' onload='fade()'></a>");
setInterval("ga()",10000);
</script>
</body>
<html>