|
|
|
|
|
|
window.open(¿É¼Ç¼³¸í)
¨ç.width : â °¡·Î±æÀÌ ÁöÁ¤ [no,yes(»ý±è)]
¨è.height : â ¼¼·Î±æÀÌ ÁöÁ¤ [no,yes(»ý±è)]
¨é.toolbar : ´ÜÃ൵±¸Ã¢ À¯¹«ÁöÁ¤ [no,yes(»ý±è)]
¨ê.menubar : ¸Þ´ºÃ¢ À¯¹«ÁöÁ¤ [no,yes(»ý±è)]
¨ë.location : ÁÖ¼Òâ À¯¹«ÁöÁ¤ [no,yes(»ý±è)]
¨í.scollbars : ½ºÅ©·Ñ¹Ù ÁöÁ¤ [no,yes(»ý±è)]
¨î.status : ¾Æ·¡ »óŹÙâ À¯¹«ÁöÁ¤ [no,yes(»ý±è)]
¨ï.resizable : ⺯Çü À¯¹«ÁöÁ¤ [no,yes(»ý±è)]
¨ð.fullscreen : Àüüȸé À¯¹«ÁöÁ¤ [no,yes(»ý±è]
¨ñ.channelmode=yes : ¾Õ&µÚ·Î,âÃÖ¼ÒÈ.´Ý±âµîÀ» ¼³Á¤(F11¹ø Å°¶û °°À½)
¨ò.left=0,top=0 : âÀ» °íÁ¤½ÃŲ´Ù.¿ÞÂÊ ±¸¼®¿¡ °íÁ¤
<script
type="text/javascript">
/* window.open(url:String, name:String,
properties:String) open
ÇÔ¼ö´Â ¹Ýµå½Ã
3°³ÀÇ ¸Å°³º¯¼ö°¡ ÀÖ°í, ¸Å°³º¯¼ö
¼ø¼´Â ÁöÄÑ¾ß ÇÔ. nameÀº Æ˾÷âÀÇ À̸§, ÁÖ·Î ÇÁ·¹ÀÓ ¹®¼ÀÇ TargetÀ¸·Î »ç¿ë nameÀº »ç¿ëÇÏÁö ¾ÊÀ¸·Á¸é " " ¸¸
Ç¥½ÃÇØÁÝ´Ï´Ù. ¹Ýµå½Ã Ç¥½ÃÇØ¾ß ÇÔ. */
function win()
{ window.open("http://eschyles.mireene.com/", "", ""); //¼Ó¼º ÁöÁ¤ÇÏÁö ¾ÊÀº ±âº»Ã¢ }
function menu_win() { window.open("http://eschyles.mireene.com/", "",
"menubar=1"); //¸Þ´º¹Ù ¾ø´Â Æ˾÷ }
function full_win() { window.open("http://eschyles.mireene.com/", "",
"fullscreen"); //Ç®½ºÅ©¸° ¹æ½Ä }
function channel_win() { window.open("http://eschyles.mireene.com/", "",
"channelmode"); //ä³Î¸ðµå
}
function status_win() { // »óÅÂÇ¥½Ã¹Ù ÀÖ´Â Æ˾÷ window.open("http://eschyles.mireene.com/", "",
"width=400, height=300, status=1"); }
function popup_win1() { //Å©±â width400 height300 Æ˾÷â window.open("http://eschyles.mireene.com/", "",
"width=400, height=300"); }
function popup_win2() { //À§Ä¡ left=500, top=400 ¿¡¼ ¿¸®´Â Æ˾÷â window.open("http://eschyles.mireene.com/", "",
"width=400, height=300, left=500, top=400"); }
function popup_win3() { //½ºÅ©·Ñ¹Ù ÀÖ´Â Æ˾÷ window.open("http://eschyles.mireene.com/", "",
"width=400, height=300, scrollbars=1"); }
function popup_win4() { //ÁÖ¼ÒÇ¥½ÃÁÙ ÀÖ´Â Æ˾÷ window.open("http://eschyles.mireene.com/", "",
"width=400, height=300, left=100, location=1"); } </script>
<body> <input type="button"
value="¼Ó¼º ÁöÁ¤ÇÏÁö ¾ÊÀº ±âº» â"
onclick="win()">
<input type="button" value="¸Þ´º¹Ù ¾ø´Â Æ˾÷"
onclick="menu_win()">
<input type="button" value="Ç®½ºÅ©¸° Æ˾÷"
onclick="full_win()">
<input type="button" value="ä³Î¸ðµå Æ˾÷"
onclick="channel_win()">
<input type="button" value="»óÅÂÇ¥½Ã¹Ù ÀÖ´Â Æ˾÷"
onclick="status_win()">
<input type="button" value="width400
height300 Æ˾÷â"
onclick="popup_win1()">
<input type="button" value="À§Ä¡
left=500, top=400 Æ˾÷â"
onclick="popup_win2()">
<input type="button" value="½ºÅ©·Ñ¹Ù ÀÖ´Â Æ˾÷"
onclick="popup_win3()">
<input type="button" value="ÁÖ¼Ò ÀԷ ǥ½ÃÁÙ ÀÖ´Â Æ˾÷"
onclick="popup_win4()">
</body> |
|
|
|
|