한국어
<!--把下列代码放到body区域内--> <script 언어=javascript> leftformat=""; 오른쪽 형식=""; liumeitiformat="왼쪽"; liumeiti="/images/banner1.swf";//flash文件路径 liumeititime="5000"; </script> <SCRIPT 언어=javascript> //http://www.downcodes.com의 추가 자바스크립트 document.write('<SCRIPT LANGUAGE=VBScript> n'); document.write('오류 발생 시 다음 재개 n'); document.write('Sub liumeiti_FSCommand(ByVal 명령, ByVal args)n'); document.write(' liumeiti_DoFSCommand(command, args) 호출n'); document.write('end subn'); document.write('</SCRIPT> n'); window.screen.width>800?leftsuspentl=30:leftsuspentl=145; window.screen.width>800?rightsuspentl=900:rightsuspentl=570; function liumeiticode(liumeitiurl,liumeitiformat){ suspendcode="<div id=liumeitidiv style='POSITION: 절대; LEFT:300px; TOP: 200px; VISIBILITY: visible;'>"; 현수막 코드=일시 중단 코드 + "<객체 클래스 ID='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' 코드베이스='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5 ,0,0,0' 폭='208' 높이='250'>"; 일시중단코드=일시중단코드 + "<param name=영화 값='" + liumeitiurl + "'>"; 일시중단코드=일시중단코드 + "<매개변수 이름=품질 값=높음>"; 현수막 코드=일시 중단 코드 + "<embed src='" + liumeitiurl + "' id=liumeiti 품질=높은 플러그인 페이지='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' 유형=' 응용프로그램/x-충격파-플래시' 폭='208' 높이='227'>"; 현수막 코드=일시 중단 코드 + "</embed></object></div>"; nsuspentcode="<layer id=liumeitidiv left=300 top=200>"; nsuspentcode=nsuspentcode + "<EMBED src='" + liumeitiurl + "' id=liumeiti 품질=높음 TYPE='application/x-shockwave-flash' wmode='투명' 너비='208' 높이='227'>< /EMBED></layer>"; if(document.all) { document.write(일시 중지 코드); } if(document.layers) { document.write(nsuspentcode); } if(liumeitiformat=="right" && rightformat !="" ){ if(document.all){ rightuspent.style.visibility="hidden"; } else{ document.rightsuspent.visibility="hide"; } } else if(liumeitiformat=="left" && leftformat !=""){ if(document.all){ leftsuspent.style.visibility="hidden"; } else{ document.leftsuspent.visibility="hide"; } } else{} } if(liumeitiformat =="왼쪽" || liumeitiformat =="오른쪽"){ liumeiticode(liumeiti,liumeitiformat) } function liumeiti_DoFSCommand() { if(document.all){ liumeitidiv.style.visibility=" 숨겨진";} else{ document.liumeiitidiv.visibility="숨기기"; } if(liumeitiformat=="right" && rightformat !=""){ if(document.all){ rightuspent.style.visibility="visible"; } else{ document.rightsuspent.visibility="표시"; } } else if(liumeitiformat=="left" && leftformat !=""){ if(document.all){ leftsuspent.style.visibility="visible"; } else{ document.leftsuspent.visibility="표시"; } } else{ } } if(liumeititime==""){liumeititime=10000;} if(liumeitiformat =="left" || liumeitiformat =="right"){ setTimeout("liumeiti_DoFSCommand()",liumeititime); } lastScrollX = 0; lastScrollY = 0; function heartBeat() { if(document.all) { diffY = document.body.scrollTop+150; diffYr = document.body.scrollTop+170; diffX = document.body.scrollLeft; } if(document.layers) { diffY = self.pageYOffset+170; diffX = self.pageXOffset; } if(diffY != lastScrollY) { if(document.all){ if(leftformat !=""){ document.all.leftsuspent.style.pixelTop = diffY; } if(rightformat !=""){ document.all.rightsuspent.style.pixelTop = diffYr; } } if(document.layers){ if(leftformat !=""){ document.leftsuspent.top = diffY; } if(rightformat !=""){ document.rightsuspent.top = diffY; } } } if(diffX != lastScrollX) { if(document.all){ if(leftformat !=""){ document.all.leftsuspent.style.pixelLeft = diffX; } if(rightformat !=""){ document.all.rightsuspent.style.pixelLeft = diffX; } } if(document.layers){ if(leftformat !=""){ document.leftsuspent.left = diffX; } if(rightformat !=""){ document.rightsuspent.left = diffX; } } } } action = window.setInterval("heartBeat()",1); </SCRIPT>