要完成此效果需要兩個步驟
第一步:把如下代碼加入到區(qū)域中
<script language=JavaScript>
var NN = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4);
function MFX_initALL(){
HIDDEN = (NN) ? 'hide' : 'hidden';
VISIBLE = (NN) ? 'show' : 'visible';
runslide=false;
runslide1=true;
stepSide=4;
stepDown=3;
allX = (NN) ? window.innerWidth : document.body.clientWidth;
allY = (NN) ? window.innerHeight : document.body.clientHeight;
centerX = allX/2;
centerY = allY/3;
myREF=0;
L= new Array();
D=new Array;
L[0] = (NN) ? document.Layer1 : document.all.Layer1.style;
L[1] = (NN) ? document.Layer2 : document.all.Layer2.style;
L[2] = (NN) ? document.Layer3 : document.all.Layer3.style;
L[3] = (NN) ? document.Layer4 : document.all.Layer4.style;
L[4] = (NN) ? document.Layer5 : document.all.Layer5.style;
L[5] = (NN) ? document.Layer6 : document.all.Layer6.style;
L[6] = (NN) ? document.Layer7 : document.all.Layer7.style;
L[7] = (NN) ? document.Layer8 : document.all.Layer8.style;
distanceTOhere= new Array();
distanceTOhere[0]=1;
distanceTOhere[1]=0.85;
distanceTOhere[2]=0.7;
distanceTOhere[3]=0.55;
distanceTOhere[4]=0.4;
distanceTOhere[5]=0.3;
distanceTOhere[6]=0.15;
ofset=new Array();
ofset[0]=10;
ofset[1]=20;
ofset[2]=30;
ofset[3]=40;
ofset[4]=50;
ofset[5]=60;
ofset[6]=70;
for(m=0; m
第二步:把“onresize=location.reload(true)
onload=initMFXCoords();MFX_initALL()”加在標記里
例如: