Русский
<html> <head> <title>建站学院图片擦洗幻灯片特效演示</title> </head> <body topmargin="0" leftmargin="0" oncontextmenu="return false" > <NOSCRIPT><iframe src ="*.html"></iframe></NOSCRIPT> <center> <table style=font-size:9pt width="100%"> <tr> <td align=center> <SCRIPT> var i=0 ,pictures=новый массив(); images[i++]="/img/200406301.jpg" images[i++]="/img/200406302.jpg" images[i++]="/img/200406303.jpg" images[i++]="/img/200406304. jpg" images[i++]="/img/200406305.jpg"//可增加图片 var Picturewidth=180 var PictureHeight=144//图片宽度和高度设置 var Delay=3 </SCRIPT> <SCRIPT> if (document. all) { document.write('<OBJECT ID="DAControl_Wipe" ') document.write('STYLE="width:'+picturewidth+';height:'+pictureheight+'"') document.write('CLASSID="CLSID) :B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">') document.write('</OBJECT>') m = DAControl_Wipe.MeterLibrary; WhatTransformation = новый ActiveXObject("DXImageTransform.Microsoft.Wipe"); WhatTransformation.GradientSize = 1,0; WhatTransformation.WipeStyle = 0; вар myArr=новый массив(),myArr2=новый массив(); var len=Math.floor(pictures.length/2) for(var i=0;i<len;i++){ myArr[i]=m.ImportImage(pictures[2*i]) myArr2[i]=m. ImportImage(pictures[2*i+1]) } myArr[i]=m.ImportImage(pictures[2*i]) myArr=m.Array(myArr) myArr2=m.Array(myArr2) Index = m.Interpolate( 0,5,len+0,5,len*2*задержка).RepeatForever(); Index2 = m.Interpolate(0,len,len*2*delay).RepeatForever(); вар WhatPictures = новый массив (); WhatPictures[0] = myArr.NthAnim(Index); WhatPictures[1] = myArr2.NthAnim(Index2); вперед = m.Interpolate(0, 1, задержка); назад = m.Interpolate(1, 0, задержка); WhatMovement = m.Sequence(вперед, назад).RepeatForever(); theResult = m.ApplyDXTransform(whatTransformation,whatPictures,whatMovement); DAControl_Wipe.Image = theResult.OutputBvr; DAControl_Wipe.Start(); }//дополнительный JavaScript с сайта http://www.downcodes.com </SCRIPT> <tr> </table> </center> </body> </html>