一个关于FLASH的问题

& ltmeta/CSS/08 photocss . CSS " rel = " style sheet " type = " text/CSS " & gt;

& lt表& gt

& ltTD style = " PADDING-RIGHT:0px;左填充:0px垫底:5pxPADDING-TOP:10px " vAlign = " TOP " bgColor = " # 333333 " >& lt脚本语言= " JavaScript " type = " text/JavaScript " & gt;

& lt!-

/*数据开始*/

var spic arr = new Array();

sPicArr[1] =新数组(

"/news/pics/1404/1404918 . jpg ",

“便衣警察在闹市区围捕持枪歹徒”,

”“别动,快点,抓住他!"几支枪举起来瞄准了三个在路边快步行走的人……",

"/a/20060906/000693.htm "

);

sPicArr[3] =新数组(

"/news/pics/1411/1411903 . jpg ",

“龙卷风卷起水柱直冲云霄”,

“这是发生在柬埔寨首都金边附近的湄公河上的水龙卷……”,

"/a/2006 09 06/001851 . htm "

);

sPicArr[2] =新数组(

"/news/pics/1409/1409969 . jpg ",

“没有胳膊的年轻人用脚考上大学写人生坚强”,

“他用灵活的双脚做生活中的每一件事……”,

"/a/20060906/001445.htm "

);

sPicArr[4] =新数组(

"/news/pics/1411/1411555 . jpg ",

“英国医院为穆斯林妇女量身定做病号服”,

“穿上这件长袍,从头到脚只露出病人的脸或眼睛……”,

"/a/20060906/001740.htm "

);

sPicArr[0] =新数组(

"/news/pics/1411/1411217 . jpg ",

“聋哑女孩跪求工作,用人单位说不录用”,

“她别无选择,只能向一个银行招聘人员下跪,双手捧着简历,眼里流露出恳求的神色……”,

"/a/20060906/001698.htm "

);

/*数据结束*/

函数GetObj(objName){

if(document.getElementById){

return eval(' document . getelementbyid(" '+objName+'));

}else if(document.layers){

return eval(" document . layers[' "+objName+" ']");

}否则{

返回eval(' document . all . '+objName);

}

}

var pl pic = new Image();

var gIndex = 0;

函数幻灯片(索引){

gIndex =索引;

//多里安补丁1017

if(' Microsoft Internet Explorer ' = = navigator . appname)

{

document . images[" slide pic "]. filters . item(0)。apply();

}

document.images["slidePic"]。src = spic arr[index][0];

document.images["slidePic"]。alt = spic arr[index][1];

GetObj("slidePicLink ")。href = spic arr[index][3];

GetObj("slideTitle ")。innerHTML = spic arr[index][1];

GetObj("slideDesc ")。innerHTML = spic arr[index][2];

GetObj("slideLink ")。innerHTML = "[& lt;a href = ' "+spicar[index][3]+" ' target = _ blank class = links title = ' Full text ' >全文

if((index+1)& lt;spic arr . length)pl pic . src = spic arr[index+1][0];//预加载;

for(var I = 0;我& ltspic arr . length;i++){

GetObj("item"+i)。className = " itemOff

GetObj("item"+i)。onmouseover = function(){ return false;}

GetObj("item"+i)。onmouseout = function(){ return false;}

}

GetObj("item"+index)。className = " itemOn

if(' Microsoft Internet Explorer ' = = navigator . appname)

{

document . images[" slide pic "]. filters . item(0)。play();

}

}

函数NextPic(){

gIndex = ((gIndex+1)>=sPicArr.length?0:(gIndex+1));

slide pic(gIndex);

}

函数PrevPic(){

//alert(gIndex);

gIndex =((gIndex-1)& lt;0?(spic arr . length-1):(gIndex-1));

//alert(gIndex);

slide pic(gIndex);

}

var sid

函数inislide()

{

if(sid = = null)sid = setInterval(' NextPic()',6000);//由AmourGUO修复,051017

}

函数pauseslide()

{

间隙(sid);

sid = null

}

//-& gt;

& lt/script & gt;

& lt/TD & gt;

& lttable cellSpacing="0" width="284 " >

& lttbody & gt

& lttr & gt

& ltTD style = " PADDING-RIGHT:0px;左填充:0pxPADDING-BOTTOM:2px;PADDING-TOP:2px " align = " middle " bgColor = " # 636363 " height = " 218 " >& lta id = " slide piclink " title href = "/a/2006 09 06/001698 . htm " target = " _ blank " >& ltimg id = " slide pic " onmouseover = " pause slide();"style = " BORDER-RIGHT:# bab6b 7 4px solid;BORDER-TOP:# bab6b 7 4px solid;FILTER: revealtrans(持续时间=2.0,过渡= 12);边框-左侧:#bab6b7 4px实心;BORDER-BOTTOM:# bab6b 7 4px solid " onmouseout = " in slide();"alt src = "/news/pics/1411/11217 . jpg " border = " 0 " name = " slide pic " width = " 256 " height = " 196 " >& lt/a & gt;

& lt脚本& gtdocument . getelementbyid(" slide pic ")。src = spic arr[0][0];& lt/script & gt;

& lt脚本& gtdocument . getelementbyid(" slide piclink ")。href = spic arr[0][3];& lt/script & gt;

& lt/TD & gt;

& lt/tr & gt;

& lttr & gt

& lttd bgColor="#000000 " >。

& lttable onmouseover = " pause slide()" onmouseout = " in slide()" cellSpacing = " 0 " width = " 282 " align = " center " >

& lttbody & gt

& lttr & gt

& ltTD align = " right " width = " 146 " >& ltimg style = " CURSOR:pointer " onclick = " prev pic();pause slide();in slide()" alt = = " Previous " src = "/news/images 1/08 photo/GW _ news _ img _ 05 . gif " width = " 7 " height = " 17 " > & lt;/TD & gt;

& lttd width="120 " >& lt脚本语言= " JavaScript " type = " text/JavaScript " & gt;

& lt!-

document . writeln(" & lt;表格宽度=100%单元格间距=0 >);

document . writeln(" & lt;tr >;);

document . writeln(" & lt;td & gt?& lt/TD >;);

document . writeln(" & lt;TD id = ' item 0 ' width = 14 height = 11 class = item on onClick = ' slide pic(0)' & gt;1 & lt;/TD >;);

for(var I = 1;我& ltspic arr . length;i++){

document . writeln(" & lt;td & gt?& lt/TD >;);

document . writeln(" & lt;' TD id = ' item "+I+" ' width = 14 height = 11 class = item off onClick = ' slide pic("+I+");'& gt"+(I+1)+" & lt;/TD & gt;");//由AmourGUO修复,051017

}

document . writeln(" & lt;td & gt?& lt/TD >;);

document . writeln(" & lt;/tr >;);

document . writeln(" & lt;/table >);

//-& gt;

& lt/script & gt;

& lttable cellSpacing = " 0 " width = " 100% " height = " 1 " >

& lttbody & gt

& lttr & gt

& lt/tr & gt;

& lt/tbody & gt;

& lt/table & gt;

& lt/TD & gt;

& lttd align="right" width="10 " >& ltimg style = " CURSOR:pointer " onclick = " NextPic();pause slide();in slide()" alt = = " Next " src = "/news/images 1/08 photo/GW _ news _ img _ 06 . gif " width = " 7 " height = " 17 " > & lt;/TD & gt;

& lt/tr & gt;

& lt/tbody & gt;

& lt/table & gt;

& lt/TD & gt;

& lt/tr & gt;

& lt/tbody & gt;

& lt/table & gt;

& lttable cellSpacing="0" width="284 " >

& lttbody & gt

& lttr & gt

& ltTD bgColor = " # 333333 " height = " 1 " >& lt/TD & gt;

& lt/tr & gt;

& lttr & gt

& ltTD bgColor = " # 000000 " height = " 1 " >& lt/TD & gt;

& lt/tr & gt;

& lttr & gt

& ltTD bgColor = " # 333333 " height = " 1 " >& lt/TD & gt;

& lt/tr & gt;

& lttr & gt

& ltTD class = " left 1 " onmouseover = " pause slide();"onmouseout = " in slide();"bgColor="#4d4d4f" height="64 " >

& ltdiv class = " ff " id = " slide title " style = " FONT-WEIGHT:bold " >

聋哑女孩跪求工作,用人单位说不招。

& lt/div & gt;

& ltdiv class = " fff " style = " MARGIN-TOP:7px " >

& ltspan id="slideDesc " >她别无选择,只能跪在一位银行招聘人员面前,双手捧着简历递给对方,眼中带着恳求...[& lt;a class = " links " href = "/a/2006 09 06/001698 . htm " target = " _ blank " >。全文

& lt/div & gt;

& lt/TD & gt;

& lt/tr & gt;

& lt/tbody & gt;

& lt/table & gt;