[code]<STYLE type=text/css>#imgTitle {
FILTER: ALPHA(opacity=70); LEFT: 0px; OVERFLOW: hidden; POSITION: relative; TEXT-ALIGN: left
}
#imgTitle_up {
LEFT: 0px; HEIGHT: 1px; TEXT-ALIGN: left
}
#imgTitle_down {
LEFT: 0px; TEXT-ALIGN: right
}
.imgClass {
BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #fff 1px solid; BORDER-LEFT: #fff 1px solid; BORDER-BOTTOM: #fff 1px solid
}
#txtFrom {
VERTICAL-ALIGN: middle; PADDING-TOP: 2px; TEXT-ALIGN: center
}
.button {
PADDING-RIGHT: 7px; PADDING-LEFT: 7px; BACKGROUND: #7b7b63; PADDING-BOTTOM: 2px; MARGIN: 0px; FONT: bold 9px sans-serif; BORDER-LEFT: #fff 1px solid; PADDING-TOP: 2px; TEXT-DECORATION: none
}
A.button {
COLOR: #ffffff; FONT-FAMILY: sans-serif; BACKGROUND-COLOR: #000000; TEXT-DECORATION: none
}
A.button:link {
COLOR: #ffffff; FONT-FAMILY: sans-serif; BACKGROUND-COLOR: #000000; TEXT-DECORATION: none
}
A.button:visited {
COLOR: #ffffff; FONT-FAMILY: sans-serif; BACKGROUND-COLOR: #000000; TEXT-DECORATION: none
}
A.button:hover {
BACKGROUND: #fff; COLOR: #fff; FONT-FAMILY: sans-serif; TEXT-DECORATION: none
}
.buttonDiv {
BACKGROUND: #000000; FLOAT: left; VERTICAL-ALIGN: middle; WIDTH: 21px; HEIGHT: 1px; TEXT-ALIGN: center
}
.trans {
FILTER: progid:DXImageTransform.Microsoft.Alpha(startX=0, startY=0, finishX=100, finishY=100,style=1,opacity=0,finishOpacity=40); WIDTH: 90px; BACKGROUND-COLOR: #000
}
</STYLE>
<SCRIPT language=javascript type=text/javascript>
var imgWidth=248; //图片宽
var imgHeight=200; //图片高
var textFromHeight=21; //焦点字框高度 (单位为px)
var textStyle="whiter"; //焦点字class style (不是连接class)
var textLinkStyle="whiter"; //焦点字连接class style
var buttonLineOn="#f60"; //button下划线on的颜色
var buttonLineOff="#000"; //button下划线off的颜色
var TimeOut=5000; //每张图切换时间 (单位毫秒);
var imgUrl=new Array();
var imgLink=new Array();
var imgtext=new Array();
var imgAlt=new Array();
var adNum=0;
//焦点字框高度样式表 开始
document.write('<style type="text/css">');
document.write('#focuseFrom{width:'+(imgWidth+2)+';margin: 0px; padding:0px;height:'+(imgHeight+textFromHeight)+'px; overflow:hidden;}');
document.write('#txtFrom{height:'+textFromHeight+'px;line-height:'+textFromHeight+'px;width:'+imgWidth+'px;overflow:hidden;}');
document.write('#imgTitle{width:'+imgWidth+';top:-'+(textFromHeight+14)+'px;height:18px}');
document.write('</style>');
document.write('<div id="focuseFrom">');
//焦点字框高度样式表 结束
imgUrl[1]='http://www.pcgames.com.cn/games/tt/images/picpath/pcgames20070113newgame01.jpg';
imgtext[1]='<a href="http://ng.pcgames.com.cn/" target="_blank" class=linkblack>CAPCOM神作《怪物猎人在线》内测募集</a>';
imgLink[1]='http://ng.pcgames.com.cn/';
imgAlt[1]='CAPCOM神作《怪物猎人在线》内测募集';
imgUrl[2]='http://www.pcgames.com.cn/games/tt/images/picpath/pcgames20070113newgame03.jpg';
imgtext[2]='<a href="http://ng.pcgames.com.cn/" target="_blank" class=linkblack>名声优,绿川光、井上喜久子献声最新网游</a>';
imgLink[2]='http://ng.pcgames.com.cn/';
imgAlt[2]='名声优,绿川光、井上喜久子献声最新网游';
imgUrl[3]='http://www.pcgames.com.cn/games/tt/images/picpath/pcgames0113soloawplogobig.jpg';
imgtext[3]='<a href="http://www.pcgames.com.cn/fight/cs/#2" target="_blank" class=linkblack>AWP刷屏表演 快枪手solo地狱疯狂虐菜</a>';
imgLink[3]='http://www.pcgames.com.cn/fight/cs/#2';
imgAlt[3]='AWP刷屏表演 快枪手solo地狱疯狂虐菜';
imgUrl[4]='http://www.pcgames.com.cn/cartoon/dl/pic/images/picpath/0113tony_250-1.jpg';
imgtext[4]='<a href="http://www.pcgames.com.cn/cartoon/focus/051216/tony/index.htm" target="_blank" class=linkblack>TONY大神最新本《ENTANGLE》加量激赏</a>';
imgLink[4]='http://www.pcgames.com.cn/cartoon/focus/051216/tony/index.htm';
imgAlt[4]='TONY大神最新本《ENTANGLE》加量激赏';
imgUrl[5]='http://www.pcgames.com.cn/games/tt/images/picpath/pcgame0113jiaodian02.jpg';
imgtext[5]='<a href="http://www.pcgames.com.cn/pcgames/" target="_blank" class=linkblack>驱动谎言被破《战争机器》PC版纯属子虚乌有</a>';
imgLink[5]='http://www.pcgames.com.cn/pcgames/';
imgAlt[5]='驱动谎言被破《战争机器》PC版纯属子虚乌有';
imgUrl[6]='http://www.pcgames.com.cn/games/tt/images/picpath/pcgames0112cesmm250200.jpg';
来源:
作者:xinge
关键字:太平洋游戏网上,图片幻灯片效果
发表日期:2007-1-16 22:55:19
网页显示有限 阅读全文请下载本文完整版WORD文档
上一篇:将阿拉伯数字转换为(零,壹,贰...) 下一篇:javascript读取RSS数据
共3页
9 7 [
1] [
2] [
3]
8 :>
2008-8-30 10:35:35