한국어
<!-- 웹사이트:http://www.downcodes.com --> <!-- bbs:http://bbs.downcodes.com --> <!-- 完整的HTML代码如下 --> <HTML > <HEAD> <제목>建站school院一种特酷的图文解示特效</title> <meta name="Author" content="from at http://www.downcodes.com"> <meta http-equiv= "imagetoolbar" content="no"> <STYLE> BODY { 커서:url("../CRCROSS.cur"); } </STYLE> </HEAD> <BODY bgColor=#222222 onload=zyva() 스크롤=no> <DIV id=images style="display:none"> <IMG src=""> <IMG src="" > <IMG src=""> <IMG src=""> <IMG src=""> <IMG src=""> <IMG src=""> <IMG src=""> <IMG src=""> <IMG src=""> </DIV> <!-- crossbrowser Images_loading_bar - Gerard Ferrandez - www.dhteumeuleu.com - 2005년 2월 --> <span id=LB0 style="position:absolute;left:50%;top :50%;"><span style="position:absolute;font-family:arial;font-size:10px;color:#FFFFFF;left:-50;top:-18">로드 중...</span > <span style="위치:절대;왼쪽:-50;top:-5;font-size:1px;width:100;height:10px;배경:#333"><span id=LB1 style="위치: 절대;왼쪽:0;상단:0;글꼴 크기:1px;너비:0;높이:10px;배경:#FFFFFF"></span></span></span> <script>m00=document.getElementById ("이미지").getElementsByTagName("img");m01=m00.length;function Images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete) ?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100);if(m02==m01)setTimeout("document.getElementById('LB0').style. 디스플레이='없음'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script> <!-- Images_loading_bar 코드 끝 --> <!-- DA 컨트롤 레이아웃 --> <OBJECT id=DAC style= "Z-INDEX: -1;BACKGROUND: #000000; 왼쪽: 0px; WIDTH: 표현식(document.body.clientWidth); POSITION: 절대; TOP: 표현식(document.body.clientHeight*.1); HEIGHT: 표현식( document.body.clientHeight-document.body.clientHeight*.2)" classid=CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D> <PARAM NAME="OpaqueForHitDetect" VALUE="0"> <PARAM NAME="UpdateInterval" VALUE="0.016"> </OBJECT> <BGSOUND src="romance.mid" loop=infinite> <SCRIPT> // ====================== ================================ // http://www.downcodes.com // ===== ================================================= 화면 .bufferDepth = 16 document.onselectstart = function (){ return false } xm = 0 ym = 0 cx = 0 cy = 10000 //////////// zOOm = .05 spAce = 5 r = 1.33 / /////////// function programDA(){ m = DAC.MeterLibrary NI = Images.children.length // 정사각형 기하학(삼각형 2개) square = m.TriMesh (2, [r,0,- 1,-r,0,-1,-r,0,1,r,0,-1,-r,0,1,r,0,1], [0,1,0,0,1,0 ,0,1,0,0,1,0,0,1,0,0,1,0], [1,1,0,1,0,0,1,1,0,0,1,0 ], null) square = square.Transform(m.Scale3Uniform(zOOm)).Transform(m.Rotate3(m.xVector3, Math.PI/2)) // 조명 geo = m.AmbientLight.LightColor(m.colorRgb255( 255,255,255)) // --- 모든 DIV 추가 for(i=0;i<NI;i++){ // --- 텍스처 매핑 htmlTexture = m.ImportImage(images.children[i].src).MapToUnitSquare() img = square.TextureImage(htmlTexture) // --- 구절 if(i<NI/2) geo = m.UnionGeometry(geo,img.Transform(m.Rotate3(m.yVector3,-Math.PI/2)) .Transform(m.Translate3(.06,0,-i/spAce))) else geo = m.UnionGeometry(geo,img.Transform(m.Rotate3(m.yVector3,Math.PI/2)).Transform( m.Translate3(-.06,0,-(i-(NI/2))/spAce))) } // --- 원근 카메라(수정 가능한 동작) ROTCam = m.ModifyingBehavior(m.Rotate3(m.yVector3 ,0)) TRACam = m.ModifyingBehavior(m.Translate3(0,0,0)) // --- 최종 렌더링 DAC.Image = geo.render(m.PerspectiveCamera(0.1,0.09).Transform(ROTCam). Transform(TRACam)) } function PilotDA(){ // --- 마우스 감쇠 cx+=Math.round((xm-cx)/10) cy+=Math.round((ym-cy)/10) // -- - JScript에서 DA 동작 설정 ROTCam.SwitchTo(m.Rotate3(m.yVector3,cx / 100)) TRACam.SwitchTo(m.Translate3(0, 0, cy / 500)) } function zyva(){ programDA() DAC .Start() document.onmousemove = function (){ xm = (-document.body.offsetWidth * .5) + window.event.clientX ym = (document.body.offsetHeight * .1) - window.event.clientY * 500 / document.body.offsetHeight } setInterval("pilotDA()", 16) } </SCRIPT> </BODY></HTML>