|
楼主 |
发表于 2007-8-24 12:00
|
显示全部楼层
把代码复制到记事本,注意更换里面的图片地址,上传。
特效代码:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>音乐</title><style type="text/css">
body{background-color:#DDFFD0;margin: 0px 0px 0px 0px; font-family: 宋体; font-size: 10pt;color:#000000}
A:link,A:visited,A:active{color:#000000;font-family:宋体;font-size:10pt;font-style: normal; text-decoration: none;line-height:1.5}
A:hover{color:#008000;font-family:宋体;font-size:10pt;font-style:normal; text-decoration: underline overline;line-height:1.5}
.tt{FONT-SIZE:12pt;font-family:黑体,宋体;color:#008000;line-height:1.5}
td{font-family:新宋体,宋体;font-size:10pt;color:#000000}
</style>
</head>
<body bgcolor="#DDFFD0"><DIV align=center>
<script language=JavaScript>
<!--
var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;
bannerAD[0]="1.jpg";
bannerAD[1]="2.jpg";
bannerAD[2]="3.jpg";
bannerAD[3]="4.jpg";
bannerAD[4]="5.jpg";
bannerAD[5]="6.jpg";
bannerAD[6]="7.jpg";
bannerAD[7]="1.jpg";
bannerAD[8]="8.jpg";
bannerAD[9]="9.jpg";
bannerAD[10]="1.jpg";
bannerAD[11]="2.jpg";
bannerAD[12]="3.jpg";
bannerAD[13]="4.jpg";
bannerAD[14]="5.jpg";
bannerAD[15]="6.jpg";
bannerAD[16]="7.jpg";
bannerAD[17]="8.jpg";
var preloadedimages=new Array();
for (i=1;i<bannerAD.length;i++){
preloadedimages=new Image();
preloadedimages.src=bannerAD;
}
function setTransition(){
if (document.all){
bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
bannerADrotator.filters.revealTrans.apply();
}
}
function playTransition(){
if (document.all)
bannerADrotator.filters.revealTrans.play()
}
function nextAd(){
if(adNum<bannerAD.length-1)adNum++ ;
else adNum=0;
setTransition();
document.images.bannerADrotator.src=bannerAD[adNum];
playTransition();
theTimer=setTimeout("nextAd()", 5000);
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}
//-->
</script>
<p align=center>
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="300" height="80">
<param name="movie" value="a.swf">
<param name="quality" value="High">
<param name="wmode" value="transparent">
<embed src="a.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="300" height="80" quality="High" wmode="transparent"></object>
</p>
<center><IMG style="FILTER: revealTrans(duration=2,transition=20)" height=550 src="5.jpg" width=400 border=1 name=bannerADrotator></center>
<SCRIPT language=JavaScript>nextAd()</SCRIPT>
<EMBED src=http://games.enet.com.cn/zhuanti/jianxiaqingyuan/4/j2-txz.mp3 width=1 height=0 type=audio/x-ms-wma autostart="-1 "LOOP="TRUE"></EMBED>
</body>
</html> |
|