blog图片渐变特效(二)
作者:cmscn 日期:2005-04-23
http://www.yesky.com/SoftChannel/72351167954419712/20021106/1638532.shtml
http://www.yzyongle.com/htm/mxg.htm
Quoted from Unkown:
<html>
<head>
</head>
<body leftMargin="0" topMargin="0" oncontextmenu="window.event.returnValue=false" ondragstart="window.event.returnValue=false" onselectstart="event.returnValue=false">
<DIV id=Layer1
style="Z-INDEX: 6; VISIBILITY: visible; WIDTH: 296px; POSITION: absolute; TOP: 10; HEIGHT: 139px; center: 800px; left:10px">
<object codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 height=151 width=382 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
<param name="_cx" value="10107">
<param name="_cy" value="3995">
<param name="FlashVars" value>
<param name="Movie" value="mxg_images/banner_2.swf">
<param name="Src" value="mxg_images/banner_2.swf">
<param name="WMode" value="Transparent">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="Quality" value="High">
<param name="SAlign" value>
<param name="Menu" value="-1">
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="-1">
<param name="EmbedMovie" value="-1">
<param name="BGColor" value="FFFFFF">
<param name="SWRemote" value>
<param name="MovieData" value>
<param name="SeamlessTabbing" value="1">
</object>
</p>
</DIV>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<SCRIPT language=Javascript>
var bannerAD=new Array();
var bannerADlink=new Array();
var bannerADtarget=new Array();
var adNum=0;
bannerAD[1]="mxg_images/M_index_2_01.jpg";
bannerADlink[1]="javascript:;";
bannerADtarget[1]="_blank";
bannerAD[2]="mxg_images/M_index_2_02.jpg";
bannerADlink[2]="javascript:;";
bannerADtarget[2]="vnet";
bannerAD[3]="mxg_images/M_index_2_03.jpg";
bannerADlink[3]="javascript:;";
bannerADtarget[3]="vnet";
bannerAD[4]="mxg_images/M_index_2_04.jpg";
bannerADlink[4]="javascript:;";
bannerADtarget[4]="javascript:;";
bannerAD[5]="mxg_images/M_index_2_05.jpg";
bannerADlink[5]="javascript:;";
bannerADtarget[5]="vnet";
bannerAD[6]="mxg_images/M_index_2_06.jpg";
bannerADlink[6]="javascript:;";
bannerADtarget[6]="vnet";
bannerAD[7]="mxg_images/M_index_2_07.jpg";
bannerADlink[7]="javascript:;";
bannerADtarget[7]="vnet";
bannerAD[8]="mxg_images/M_index_2_08.jpg";
bannerADlink[8]="javascript:;";
bannerADtarget[8]="vnet";
bannerAD[9]="mxg_images/M_index_2_09.jpg";
bannerADlink[9]="javascript:;";
bannerADtarget[9]="_blank";
bannerAD[10]="mxg_images/M_index_2_10.jpg";
bannerADlink[10]="javascript:;";
bannerADtarget[10]="_blank";
bannerAD[11]="mxg_images/M_index_2_01.jpg";
bannerADlink[11]="javascript:;";
bannerADtarget[11]="vnet";
bannerAD[12]="mxg_images/M_index_2_02.jpg";
bannerADlink[12]="javascript:;";
bannerADtarget[12]="vnet";
bannerAD[13]="mxg_images/M_index_2_03.jpg";
bannerADlink[13]="javascript:;";
bannerADtarget[13]="vnet";
bannerAD[14]="mxg_images/M_index_2_04.jpg";
bannerADlink[14]="javascript:;";
bannerADtarget[14]="javascript:;";
bannerAD[15]="mxg_images/M_index_2_05.jpg";
bannerADlink[15]="javascript:;";
bannerADtarget[15]="vnet";
bannerAD[16]="mxg_images/M_index_2_06.jpg";
bannerADlink[16]="javascript:;";
bannerADtarget[16]="vnet";
bannerAD[17]="mxg_images/M_index_2_07.jpg";
bannerADlink[17]="javascript:;";
bannerADtarget[17]="vnet";
bannerAD[18]="mxg_images/M_index_2_08.jpg";
bannerADlink[18]="javascript:;";
bannerADtarget[18]="vnet";
bannerAD[19]="mxg_images/M_index_2_09.jpg";
bannerADlink[19]="javascript:;";
bannerADtarget[19]="_blank";
bannerAD[0]="mxg_images/M_index_2_10.jpg";
bannerADlink[0]="javascript:;";
bannerADtarget[0]="_blank";
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=12;
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()", 3000);
}
function jump2url(){
jumpUrl=bannerADlink[adNum];
jumpTarget=bannerADtarget[adNum];
if (jumpUrl != ''){
if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
else window.open(jumpUrl,"","width=760,height=118,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no");
}
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}
</SCRIPT>
<img style="FILTER:revealTrans(duration=1,transition=12)" src="mxg_images/M_index_2_01.jpg" width="760" height="118" name=bannerADrotator>
<script language=JavaScript>nextAd()</script>
</body>
</html>
评论: 3 | 引用: 0 | 查看次数: 915
发表评论