ºÎ¸ðâ¿¡¼ ÀÚ½Äâ ¿ÀǽÃÅ°¸é¼ ºÎ¸ðâ ´ÝÀ» ¶§ 'â ´ÝÀ¸½Ã°Ú½À´Ï±î' ¶ó´Â ¸Þ¼¼Áö â ¾øÀÌ ºê¶ó¿ìÀú
Á¾·á½ÃÅ°´Â ¾Æ·¡ ½ºÅ©¸³Æ®°¡ Àִµ¥
self.opener = self;
self.close();
ÀÌ°Ô IE7¿¡¼ ¾óÇÍ ¾ÈµÇ°Ô º¸ÀÌÁö¸¸ °¡´ÉÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
¾Æ·¡ ³»¿ëÀ» Âü°í Çϼ¼¿ä~
[¿¹]
//--------------------------------------
//IE7¿¡¼ "âÀ» ´Ý°Ú³Ä"´Â ¸Þ½ÃÁö ¶ß´Â °Í ¹æÁö¿ë
//--------------------------------------
function selfClose()
{
if (/MSIE/.test(navigator.userAgent)) {
if(navigator.appVersion.indexOf("MSIE 7.0")>=0) {
//IE7¿¡¼´Â ¾Æ·¡¿Í °°ÀÌ
window.open('about:blank','_self').close();
}
else {
//IE7ÀÌ ¾Æ´Ñ °æ¿ì
window.opener = self;
self.close();
}
} else {
window.name = '__t__';
var w = window.open('about:blank');
w.document.open();
w.document.write('<html><body><script type="text/javascript">function _(){var w=window.open("about:blank","'+window.name+'");w.close();self.close();}</'+'script></body></html>');
w.document.close();
w._();
}
}
Á¾·á½ÃÅ°´Â ¾Æ·¡ ½ºÅ©¸³Æ®°¡ Àִµ¥
self.opener = self;
self.close();
ÀÌ°Ô IE7¿¡¼ ¾óÇÍ ¾ÈµÇ°Ô º¸ÀÌÁö¸¸ °¡´ÉÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
¾Æ·¡ ³»¿ëÀ» Âü°í Çϼ¼¿ä~
[¿¹]
//--------------------------------------
//IE7¿¡¼ "âÀ» ´Ý°Ú³Ä"´Â ¸Þ½ÃÁö ¶ß´Â °Í ¹æÁö¿ë
//--------------------------------------
function selfClose()
{
if (/MSIE/.test(navigator.userAgent)) {
if(navigator.appVersion.indexOf("MSIE 7.0")>=0) {
//IE7¿¡¼´Â ¾Æ·¡¿Í °°ÀÌ
window.open('about:blank','_self').close();
}
else {
//IE7ÀÌ ¾Æ´Ñ °æ¿ì
window.opener = self;
self.close();
}
} else {
window.name = '__t__';
var w = window.open('about:blank');
w.document.open();
w.document.write('<html><body><script type="text/javascript">function _(){var w=window.open("about:blank","'+window.name+'");w.close();self.close();}</'+'script></body></html>');
w.document.close();
w._();
}
}