24、变化的图片特效代码

24、变化的图片特效代码

<body><script language='javascript' src=''></script>

 

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<meta http-equiv="Content-Language" content="zh-cn"> </p>

 

<table border="0" cellpadding="0" cellspacing="0" width="100%">

       <tr>

<td width="150" colspan="2" align="center">

              <script language=JavaScript>

<!-- // BannerAD

 

var bannerAD=new Array();

var bannerADlink=new Array();

var adNum=0;

bannerAD[0]="http://hi.814e.com/cqjwtian/九重山封面.JPG";

bannerADlink[0]="http://hi.814e.com/cqjwtian/index.htm";

bannerAD[1]="http://hi.814e.com/cqjwtian/c2.JPG";

bannerADlink[1]="http://7stk.com/";

bannerAD[2]="http://hi.814e.com/cqjwtian/照片%20022.jpg";

bannerADlink[2]="http://cqck.love.topzj.com/index.php";

bannerAD[3]="http://hi.814e.com/cqjwtian/照片%20023.jpg";

bannerADlink[3]="http://7stk.com/";

bannerAD[4]="http://www.cqck.gov.cn/upfiles/2006-8/20068917432656.jpg";

bannerADlink[4]="http://7stk.com/";

bannerAD[5]="http://pic.yesky.com/picupload2/20061025/100047/4660.jpg";

bannerADlink[5]="http://tianhaoztslj.blog.sohu.com/";

bannerAD[6]="http://pic.yesky.com/picupload2/20061025/100047/4666.jpg";

bannerADlink[6]="http://tianhaoztslj.blog.sohu.com/";

bannerAD[7]="http://www.cqck.gov.cn/upfiles/2006-8/2006810173913526.jpg";

bannerADlink[7]="http://cqck.love.topzj.com/index.php";

bannerAD[8]="http://hi.814e.com/cqjwtian/照片%20024.jpg";

bannerADlink[8]="http://cqck.love.topzj.com/index.php";

bannerAD[9]="http://hi.814e.com/cqjwtian/照片%20026.jpg";

bannerADlink[9]="http://7stk.com/";

bannerAD[10]="http://hi.814e.com/cqjwtian/照片%20028.JPG";

bannerADlink[10]="http://7stk.com";

bannerAD[11]="http://www.chengkou.cn/images/pic_06.jpg";

bannerADlink[11]="http://cqcktian.blog.sohu.com/";

bannerAD[12]="http://www.chengkou.cn/images/pic_09.jpg";

bannerADlink[12]="http://cqcktian.blog.sohu.com/";

bannerAD[13]="http://chengkou.mofcom.gov.cn/articleimage/200510/1129084592490.jpg";

bannerADlink[13]="http://7stk.com/";

bannerAD[14]="http://pic.yesky.com/picupload2/20061025/100047/4657.jpg";

bannerADlink[14]="http://7stk.com/";

var preloadedimages=new Array();

for (i=1;i<bannerAD.length;i++){

preloadedimages[i]=new Image();

preloadedimages[i].src=bannerAD[i];

}

 

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 jump2url(){

jumpUrl=bannerADlink[adNum];

jumpTarget='_blank';

if (jumpUrl != ''){

if (jumpTarget != '')window.open(jumpUrl,jumpTarget);

else location.href=jumpUrl;

}

}

function displayStatusMsg() {

status=bannerADlink[adNum];

document.returnValue = true;

}

 

//-->

</script>

 

<div style="position: absolute; width: 342px; height: 100px; z-index: 1; left: 37px; top: 102px" id="layer1">

 <div style="position: absolute; width: 294px; height: 93px; z-index: 1; left: 28px; top: 2px" id="layer1">

       <div style="position: absolute; width: 233px; height: 33px; z-index: 1; left: 40px; top: 14px" id="layer3">

              <font size="6" color="#FF0000">

              <b> </b></font><font size="5" color="#FF0000" face="华文行楷">网页特效代码</font></div>

       <p><b><font size="6" color="#008000">    </font></b><br>

       <b><i><font face="Edwardian Script ITC" size="7" color="#00FF00"> </font><font face="Edwardian Script ITC" color="#00FF00" size="6">

       7stk.com</font></i></b></div>

<div style="position: absolute; width: 188px; height: 33px; z-index: 2; left: 721px; top: 68px" id="layer2">

       <font size="5" color="#008080"><b>中国.成都</b></font></div>

 

</div>

<p>

<A onmouseover="displayStatusMsg();return document.returnValue"

href="javascript:jump2url()">

<IMG

style="FILTER: revealTrans(duration=2,transition=20)" height=180

src="http://hi.814e.com/cqjwtian/九重山封面.JPG" width=1024 border=1

name=bannerADrotator>

</A>

<SCRIPT language=JavaScript>nextAd()</SCRIPT>

 

</p>

              </td>

              <td align="center">

               </td>

</A>

 

Write a comment

Comments: 0