|
Å©·Ò¸®½ºÀ©µµ¿ì(CHROMELESS WINDOWS)·Î
»õâ¶ç¿ì±â
¢º CHROMELESSÆú´õ¾È¿¡ ÀÖ´Â ÆÄÀϱ¸¼º
|
¿·ÀÇ ±×¸²Àº Å©·Ò¸®½ºÀ©µµ¿ì¸¦ ÀÌ¿ëÇϱâ
À§ÇÑ ±âº»ÀûÀÎ ÆÄÀϱ¸¼ºÀÌ´Ù.
ÆÄÀÏÀÇ À̸§°ú °æ·Î°¡ ¹Ù²Ü°æ¿ì¿¡´Â
index.html¿¡¼ Á¤È®ÇÏ°Ô ¼öÁ¤ÇØ¾ß Çϸç,
chromeless_30.js´Â ¼öÁ¤ÇÏÁö ¾Ê°í
»ç¿ëÇصµ µÈ´Ù.
´Ü, ´Ù¸¥½ºÅ¸ÀÏÀÇ ±¸¼ºÀ» ¿øÇÒ¶§¸¸ ¼öÁ¤ÇÑ´Ù.
chromless_30.js
[´Ù¿î¹Þ±â] |
¢º CHROMELESS WINDOWS ¿¹Á¦
(index.html _ ¼³Á¤¿¡ ¸Â°Ô ¼öÁ¤ÇØÁØ´Ù.)
<HTML>
<HEAD>
<TITLE>CHROMELESS WINDOWS LAUNCH</TITLE>
<script language="javaScript"
type="text/javascript" SRC="chromeless_30.js"></SCRIPT>
<script language="javaScript">
function openIT(theURL,W,H, wname) {
CLOSEdwn = "close_dwn.gif" //À̹ÌÁöÀÇ °æ·Î¿Í ÆÄÀÏÀ̸§À»
Àû¾îÁØ´Ù.
CLOSEup = "close_up.gif"
CLOSEovr = "close_ovr.gif"
MINIdwn = "mini_dwn.gif"
MINIup = "mini_up.gif"
MINIovr = "mini_ovr.gif"
NONEgrf = "none.gif"
CLOCKgrf = "clock.gif"
titHTML = "<font face=verdana size=1> ÀÌ°ÍÀÌ
CHROMELESS WINDOWÀÔ´Ï´Ù.</font>" //ŸÀÌƲÁ¦¸ñ
titWIN = "CHROMELESS WINDOW"
winBORDERCOLOR = "gray" //Ŭ¸¯ÇßÀ»¶§ ¹Ù²î´Â ¿Ü°¢¼±ºÎºÐÀÇ Å׵θ®»ö
winBORDERCOLORsel = "black" //Ŭ¸¯ÇßÀ»¶§ ¹Ù²î´Â ŸÀÌƲºÎºÐÀÇ
Å׵θ®»ö
winBGCOLOR = "gray" //ŸÀÌƲ ¹ÙÀÇ ±âº» »ö
winBGCOLORsel = "white" //ŸÀÌƲ¹Ù¸¦ Ŭ¸¯ÇßÀ»¶§ ¹Ù²î´Â ŸÀÌƲ¹ÙÀÇ
»ö
mywin = openchromeless(theURL, wname, W, H, NONEgrf, CLOSEdwn,
CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf,
titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR,
winBGCOLORsel)
}
</SCRIPT>
</HEAD>
<BODY>
<div align="center">
<a href="javascript:openIT('new.html',300,400,'mywinname');">Å©·Ò¸®½ºÃ¢¿±â</a>
|
<!--»õâÀ¸·Î ¿¸®´Â Å©·Ò¸®½ºÃ¢ÀÇ ÆÄÀϸí°ú Å©±â¸¦ Á¤ÇØÁØ´Ù.-->
<a href="javascript:if (top.mywin) mywin.close();">
Å©·Ò¸®½ºÃ¢´Ý±â</a>
</div>
</BODY>
</HTML>
|
(new.html _ Å©·Ò¸®½ºÃ¢(»õâ)À¸·Î º¸¿©ÁÙ ³»¿ëÀ» ³Ö¾îÁØ´Ù.)
<html>
<head>
<TITLE>..</TITLE>
</head>
<BODY bgcolor="#ffcccc">
<div align="center">
<p style="margin-top:50px;"><font face="verdana"
size="3" color="#333333">
new.html¹®¼°¡ ¿¸² </font></p>
</div>
</body>
</html> |
|
|
|
|