¿¤·¹¸àÆ® ºñÇìÀ̹ö·Î ºÎÅÍ Á¤ÀÇµÈ Å±׸¦ µµÀÔÇÑ´Ù.
script | ¾øÀ½ | |
---|---|---|
HTML | <?IMPORT namespace="sNameSpace" implementation = "sImplementation"> |
°ª | ¼³¸í |
---|---|
#default | An built into Microsoft?Internet Explorer IE5.5 ÀÌÈÄ ¹öÀü¿¡ ³»ÀåµÈ ¿¤·¹¸àÆ® ºñÇìÀ̹öÀÌ´Ù. |
#objectID | Object ű×ÀÇ id ¾ÖÆ®¸®ºäÆ®¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿ÀÌ´Ù. |
sVal | ű×ÀÇ Á¤ÀÇ°¡ Æ÷ÇԵǾî ÀÖ´Â HTC(HTML Component) ÆÄÀÏÀ» ÁöÁ¤ÇÏ´Â ¹®ÀÚ¿ÀÌ´Ù. |
»ç¿ë Ƚ¼ö | ¹«Á¦ÇÑ |
---|---|
¸ðü ¿¤·¹¸àÆ®µé | BODY, head |
ÃÖ¼Ò ÀÎÅÍ³Ý ¹öÀü | IE5.5 |
ÃÖ¼Ò ¿î¿µÃ¼°è(OS) | Windows 95, Windows NT 4.0, Windows CE 4.0 |
À¥ÆäÀÌÁö¿¡¼ IMPORT ó¸®Áö½Ã(PI : Process Instruction)ÀÇ º¹¼ö ÀνºÅº½º¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
html ű׿¡¼ Á¤ÀÇµÈ xmlns ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀº IMPORT ó¸®Áö½Ã¿¡¼ Á¤ÀÇµÈ namespace ¾ÖÆ®¸®ºäÆ®¿¡ »óÀÀÇÏ¿©¾ß Çϸç, ±×·¸Áö ¸øÇÏ¸é µµÀÔµÈ Å±״ »ç¿ëÇÒ ¼ö ¾ø´Ù.
implementation ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀÌ À¯È¿ÇÏÁö ¾ÊÀ¸¸é, µµÀÔµÈ Å±״ ǥÇöµÇÁö ¾Ê´Â´Ù. ÆÄÀÏÀ» »ç¿ëÇÒ °æ¿ì¿¡´Â ¸ðµç ºñÇìÀ̹öµéÀÇ º¸¾È¼º ±ÔÄ¢¿¡ ºÎÇÕÇÏ¿©¾ß ÇÑ´Ù.
IMPORT ó¸®Áö½Ã´Â ¹®¼ÀÇ body űװ¡ ´Ý±â±â Àü¿¡ ¾îµð¿¡³ª À§Ä¡µÇ¸é µÈ´Ù. ±×·¯³ª, IMPORT ó¸®Áö½Ã´Â µµÀÔµÈ Å±׸¦ »ç¿ëÇÏ´Â Á¦ÀÛÀÚ(custom) ¿¤·¹¸àÆ®ÀÇ Ã³À½ ÀνºÅº½ºº¸´Ù´Â ¸ÕÀú À§Ä¡µÇ¾î¾ß ÇÑ´Ù. ¸¸ÀÏ IMPORT ó¸®Áö½Ã°¡ ÀÌ Á¦ÀÛÀÚ ¿¤·¹¸àÆ®º¸´Ù ´Ê°Ô À§Ä¡µÇ¸é, ºñÇìÀ̹ö´Â Á¦ÀÛÀÚ ¿¤·¹¸àÆ®¿¡ ÷ºÎµÇÁö ¸øÇÑ´Ù. ÀÌ´Â document.write ¸Þ¼µå´Â ¹®¼¿¡ IMPORT ó¸®Áö½Ã¸¦ Ãß°¡Çϴµ¥ »ç¿ëÇÏÁö ¸»¾Æ¾ß ÇÑ´Ù´Â °ÍÀ» ÀǹÌÇÑ´Ù.
¿¤·¹¸àÆ® ºñÇìÀ̹ö¸¦ ź·ÂÀûÀ¸·Î µµÀÔÇϴµ¥ doImport ¸Þ¼µå¸¦ IMPORT ó¸®Áö½Ã ´ë½Å »ç¿ëÇÒ ¼ö ÀÖ´Ù. doImport ¸Þ¼µå´Â Á¦ÀÛÀÚ ¿¤·¹¸àÆ®¿¡ ¿¤·¹¸àÆ® ºñÇìÀ̹ö¸¦ ÷ºÎÇϴµ¥ createElement ¸Þ¼µå¿Í ¿¬°üÇÏ¿© »ç¿ëµÈ´Ù.
IMPORT ó¸®Áö½Ã´Â ¹®¼ÀÇ ÃÖÃÊ ÆĽ̵¿¾È¿¡¸¸ 󸮵ȴÙ. µû¶ó¼ ¿¤·¹¸àÆ® ºñÇìÀ̹ö¸¦ »ç¿ëÇÏ´Â ¹®¼´Â HTML ÆÄÀÏ ¼Ó¿¡ IMPORT ó¸®Áö½Ã¸¦ Æ÷ÇÔ ½ÃÄÑ¾ß ÇÑ´Ù. ÃÖÃÊ ¹®¼¿¡ IMPORT ó¸®Áö½Ã°¡ Á¦°øµÇ¾úÀ¸¸é Á¦ÀÛÀÚ ¿¤·¹¸àÆ®¿¡ ºñÇìÀ̹ö¸¦ ÷ºÎÇϴµ¥ document.write ¸Þ¼µå°¡ »ç¿ëµÉ ¼ö ÀÖ´Ù.
IMPORT ó¸®Áö½Ã´Â all Ä÷º¼ÇÀÇ ±¸¼º¿øÀÌ ¾Æ´Ï´Ù. ±×·¯³ª, IMPORT ó¸®Áö½ÃÀÇ ³»¿ëÀº document.body.innerHTML ¼Ó¼ºÀ¸·Î Á¢¼ÓÇÒ ¼ö ÀÖ´Ù.
html ű׿¡¼ xmlns ¾ÖÆ®¸®ºäÆ®·Î IMPORT ó¸®Áö½Ã ¼ÓÀÇ namespace ¾ÖÆ®¸®ºäÆ®¿Í ÀÏÄ¡Çϵµ·Ï Á¤ÀǵǾú´Ù.
<PUBLIC:COMPONENT tagName="checkers"> <PUBLIC:PROPERTY NAME="boardWidth" /> <PUBLIC:METHOD name="newGame()" /> <PUBLIC:ATTACH event="onmouseover" onevent="mouseover()" /> </PUBLIC:COMPONENT> <SCRIPT Language="Javascript"> function newGame(){ // »õ·Î¿î °ÔÀÓÀ» ÃʱâÈ ÇϱâÀ§ÇÑ ÄÚµå »ðÀÔ } function mouseover(){ // ¸¶¿ì½º À̺¥Æ®¸¦ ó¸®Çϱâ À§ÇÑ ÄÚµå »ðÀÔ } </SCRIPT> <BODY> </BODY>
<HTML xmlns:games> <?IMPORT namespace="games" implementation="../public/checkers.htc" > <BODY> <GAMES:checkers /> </BODY> </HTML>
<BUTTON onclick="window.open('../object/exp/wtransitionFilter.html','_html', 'left=50,top=50;width=450,height=420')">transitionFilter º¹ÇÕ ¿¹Á¦</BUTTON>
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <TITLE>¾ð¾î ÂüÁ¶ - Javascript - ¿¹Á¦ - transitionFilter</TITLE> <IMPORT namespace=t urn="urn:schemas-microsoft-com:time" implementation="#default#time2" /> <STYLE> .time {behavior: url(#default#time2);border:dotted 1 yellow} .caption {font-size:medium} </STYLE> </HEAD> <BODY> ... ... </BODY> </HTML>