<script>
var p=window.createPopup();
function ButtonClick(dd) {
var b=p.document.body;
b.style.border="solid 1 black";
b.innerHTML="<table><tr><td>"+dd+"</td></tr></table>";
p.show(110, 50, 320, 240, document.body); // (x좌표,y좌표,width,height)
}
</script>
<script>
document.write("<object id='wmvPlayer' classid='CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95' align='top' width='500' height='500'>");
document.write("<param name='filename' value=''>");
document.write("<param name='AutoStart' value='1'>");
document.write("<param name='AnimationAtStart' value='1'>");
document.write("<param name='DisplaySize' value='0'>");
document.write("<param name='EnableContextMenu' value='true'>");
document.write("<param name='EnablePositionControls' value='-1'>");
document.write("<param name='EnableFullScreenControls' value='0'>");
document.write("<param name='Mute' value='0'>");
document.write("<param name='ShowCaptioning' value='0'>");
document.write("<param name='ShowControls' value='1'>");
document.write("<param name='ShowAudioControls' value='1'>");
document.write("<param name='ShowDisplay' value='0'>");
document.write("<param name='ShowGotoBar' value='0'>");
document.write("<param name='ShowPositionControls' value='-1'>");
document.write("<param name='ShowStatusBar' value='1'>");
document.write("<param name='ShowTracker' value='-1'>");
document.write("<param name='Volume' value='100'>");
document.write("<param name='SendMouseClickEvents' value='-1'>");
document.write("<PARAM NAME='stretchToFit' VALUE='1'>");
document.write("</object>");
</script>
<a href="javascript:ButtonClick('TEST');">dd</a>
'HTML & Script' 카테고리의 다른 글
Prototype.js 가이드 01 (0) | 2008.03.06 |
---|---|
자바스크립트 강좌, 사용법, 객체, 이벤트 등 모든것 (0) | 2008.03.06 |
레이어 관련 스크립 참고 (1) | 2008.01.28 |
document.all 문제 해결법 (1) | 2008.01.26 |
파비콘(Favicon) 만드는법 & 홈페이지에 적용하는 법 (2) | 2008.01.17 |