|
|
|
|
²ÀÁö / 2001-12-23 / ¿ÀÈÄ 2:42:21 / 210.101.94.37
Á¶È¸¼ö : 604
|
[Áú¹®] ºÎ¸ðâ Á¸Àç¿©ºÎ ¾Ë·Á¸é? |
> ºÎ¸ðâÀÇ Á¸Àç¿©ºÎ¸¦ ¾Ë·Á¸é?
>
> ÀÚ½Äâ¿¡¼ ºÎ¸ðâÀÇ Á¸Àç¿©ºÎ¸¦ ¾Ë·Á´Â °É ¾î¶»°Ô ÇؾßÇÏ´ÂÁö\....
>
>
> ¾î¶²´Ô²²¼ parent.opener == null
>
>
> À§´Â ¾È¸ÔÈ÷´Â °Í °°´õ±º¿ä...
-----------------------------------------------------------
a.html
-----------------------------------------
<a onClick="javascript:window.open('b.html')">aaa</a>
-----------------------------------------
b.html
-----------------------------------------
<script>
function fncClose(){
if (opener.closed){
alert("ºÎ¸ð âÀÌ ´ÝÇû½À´Ï´Ù!");
}else{
alert("ºÎ¸ð â ÀÛ¾÷ÇÏ·¯ °©´Ï´Ù!");
}
}
</script>
<a onClick="fncClose();">aaaa</a>
----------------------------------------- |
|
|