¹®¼ ŸÀ̸Ó: 0
´ÙÀ½ Æ®·¢À̳ª ÀÌÀü Æ®·¢ ´ÜÃ߸¦ Ŭ¸¯Çϸé ontrackchangeÀ̺¥Æ®°¡ ¹ß»ýµÇ°í, |
|||||||||||||||||||||
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <TITLE>MoreInfo Property</TITLE> <META http-equiv="Content-Type" content="text/html; charset=euc-kr"> <LINK rel="stylesheet" type="text/css" href="../../public/jscript.css"> <IMPORT namespace="t" implementation="#default#time2"> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> <SCRIPT language="JavaScript"> function updateBtns() { if(m1.currTimeState.isActive){ b0.disabled=true; b1.disabled=false; b2.disabled=false; b3.disabled=false; }else{ b0.disabled=false; b1.disabled=true; b2.disabled=true; b3.disabled=true; } } function updateFields(){ title1.innerText = m1.playList.activeTrack.title; author1.innerText = m1.playList.activeTrack.author; abstract1.innerText = m1.playList.activeTrack.abstract; copyright1.innerText = m1.playList.activeTrack.copyright; } function emptyFields(){ title1.innerText = ' '; author1.innerText = ' '; abstract1.innerText = ' '; copyright1.innerText = ' '; banner1.innerText = ' '; bannerabstract1.innerText=' '; bannermoreinfo1.innerText = ' '; } function trackChange(){ banner1.innerText = event.Banner; bannerabstract1.innerText = event.Abstract; bannermoreinfo1.innerText = event.MoreInfo; } </SCRIPT> </HEAD> <BODY onload="updateBtns()"> <BR> <P style=margin-left:5em>¹®¼ ŸÀ̸Ó: <B><SPAN id="Timer1" class="time" dur=".01" repeatCount="indefinite" fill="hold" onrepeat="innerText=parseInt(document.body.currTimeState.activeTime);">0</SPAN></B> </P> <T:media id="m1" begin="0;indefinite;" src="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/media.asx" onmediacomplete="updateFields();updateBtns();" ontrackchange="trackChange()"/> <TABLE border=0 cellpadding=3 cellspacing=3 width=600 bgcolor=ffffdd style=margin-left:5em> <COL style=text-align:right;color:navy;width:49%><COL style=padding:3><COL style=color:blue;width:49%> <TR><TD>Title</TD><TD>:</TD><TD> <SPAN id="title1"></SPAN></TD></TR> <TR><TD>Author</TD><TD>:</TD><TD> <SPAN id="author1"></SPAN></TD></TR> <TR><TD>Abstract</TD><TD>:</TD><TD> <SPAN id="abstract1"></SPAN></TD></TR> <TR><TD>Copyright</TD><TD>:</TD><TD> <SPAN id="copyright1"></SPAN></TD></TR> <TR><TD>Banner</TD><TD>:</TD><TD> <SPAN id="banner1"></SPAN></TD></TR> <TR><TD>Abstract for banner</TD><TD>:</TD><TD> <SPAN id="bannerabstract1"></SPAN></TD></TR> <TR><TD>More information of banner</TD><TD>:</TD><TD> <SPAN id="bannermoreinfo1"></SPAN></TD></TR> </TABLE><BR> <DIV style=margin-left:15em> <BUTTON id="b0" onclick="m1.beginElement();updateFields();updateBtns();">½ÃÀÛ</BUTTON> <BUTTON id="b1" onclick="m1.playList.prevTrack();updateFields();">ÀÌÀüÆ®·¢</BUTTON> <BUTTON id="b2" onclick="m1.playList.nextTrack();updateFields();">´ÙÀ½Æ®·¢</BUTTON> <BUTTON id="b3" onclick="m1.endElement();emptyFields();updateBtns();">ÁßÁö</BUTTON><BR> </DIV><BR> |