¸¶¿ì½º¸¦ ¿Â ½ÃÅ°¸é »õ·Î¿î âÀÌ ¶ß°í ´Ù½Ã ¸¶¿ì½º¸¦ Ä¡¿ì¸é »õ·Î ¶á À©µµ¿ì¸¦ ¾ø¾Ö´Â ½ºÅ©¸³Æ®ÀÔ´Ï´Ù.
Script Example |
<html> <head><title>Demo30</title>
<script language="javascript">
<!--
headstring = "<HTML><HEAD><TITLE>½ºÅ©¸³Æ®
¿¹Á¦</TITLE><HEAD>" //
âÀ̸§ ÁöÁ¤
bodystring = "<BODY bgcolor=white>"
endstring = "</BODY></HTML>"
iswin1 = 0;
function me() { if (iswin1==1)
return; win1 = open ("","","width=300,height=250");
// »õ·Î¿î À©µµ¿ì Å©±â ÁöÁ¤
win1.document.open();
win1.document.write (headstring);
win1.document.write (bodystring);
text1 ="¾È³çÇϼ¼¿ä<p>";
text1 += " ¹Ý°©½À´Ï´Ù. <p>";
text1 += " ÀÚµ¿À¸·Î À©µµ¿ì°¡ ¶å´Ï´Ù. <p>";
text1 += " ±×ÁÒ? <p>";
text1 = "<center><font
size=2>" + text1 + "</font></center>";
win1.document.write (text1);
win1.document.write (endstring);
win1.document.close();
iswin1 = 1;
}
function me1() { if (iswin1==0)
return; win1.close();
iswin1 = 0;
}
//-->
</script> </head>
<body bgcolor=white> <center>
<a href='#' onmouseover="me()"
onmouseout="me1()"
onclick="me1()">¸¶¿ì½º¸¦ ÀÌ°÷¿¡ ³õÀ¸¸é »õ·Î¿î âÀÌ ¶å´Ï´Ù.</a>
<P> ¸¶¿ì½º¸¦ Ä¡¿ì¸é ¾ø¾îÁöÁÒ. </center>
</body> </html> |
|
|
¼³¸í |
ÆĶõ»öºÎºÐ¿¡¼ »õ·Ó°Ô ¶ã À©µµ¿ìÀÇ ³»¿ëÀ» ÀÔ·ÂÇÏ½Ã¸é µË´Ï´Ù. »¡°£»öÀ¸·Î
Ç¥½ÃµÈ ºÎºÐÀÌ ¸¶¿ì½º°¡ ¿Â µÇ¸é È£ÃâµÇ´Â ÇÔ¼ö°ú ¿ÀÇÁ µÇ¸é È£ÃâµÇ´Â ÇÔ¼ö¸¦
ÁöÁ¤ÇÏ°í ÀÖ½À´Ï´Ù. |
|
|
|
|