게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
div 레이어팝업 크롬에서 안 뜨는 이유
게시물ID : programmer_13729짧은주소 복사하기
작성자 : 감사하는마음
추천 : 0
조회수 : 1124회
댓글수 : 0개
등록시간 : 2015/10/08 00:56:49
레이어 팝업 닫기 눌렀을 때 동영상 재생 소리 같이 없애는 법   답변 0 | 일반질문답변
2015.09.23. 14:35
퍼스나콘/아이디 영역
미쯔(join****)
사원

 

  

■ 발생 환경 : ( 이 정보가 불필요 한 질문일 시 삭제 혹은 미기재 )

 
OS : // ex) Windows 7
테스트 브라우저
(문제발생 브라우저) :
// ex) IE 11
비교 브라우저
(정상적으로 나오는 브라우저) :
//
 

■ 문제발생 URL (jsfiddle, jsbin. codepen 등 활용) : ( 이 정보가 불필요 한 질문일 시 삭제 혹은 미기재 )

 
http://  

■ 발생 문제 혹은 질문사항에 대한 자세한 기술:

 
// <?php
 // 2015-01-21
require('../common.inc2.php'); 
$L->set();
if(!$ptitle) $ptitle = $cfg->get('site_title');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>J&amp;D Home - 직수입 브랜드 가구몰</title> 
<link rel="shortcut icon" href="/image/favicon.ico" type="/image/x-icon">
<link rel="icon" href="/image/favicon.ico" type="/image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/jnd.css" />
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
-->
</style>
 
 
<script language="javascript">
  function allblur() {
     for (i = 0; i < document.links.length; i++)
       document.links[i].onfocus = document.links[i].blur;
   }
</script>
 
<!---즐겨찾기 스크립트 시작--->
<script language="JavaScript1.2">
var favoriteurl="http://www.jndhome.com"
var favoritetitle="J&D HOME 직수입 브랜드 가구몰"
function addfavorites(){
if (document.all)
window.external.AddFavorite(favoriteurl,favoritetitle)}
</script>
<!---즐겨찾기 스크립트 끝--->
<style type="text/css">
<!--
.style1 {
 color: #00A9E0;
 font-weight: bold;
}
.style2 {color: #FF6600}
.style4 {color: #333333}
.style18 {color: #555555}
-->
</style>
<script type="text/javascript" src="/js/jsCommon.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/jquery.pack.js"></script>
<script type="text/javascript" src="/js/jquery.common.js"></script>
<script type="text/javascript" src="/js/jquery.dimensions.pack.js"></script>
<script type="text/javascript" src="/js/jquery.cycle.pack.js"></script> 
<script type="text/javascript" src="/js/thumb_viewer.js"></script>
<!-- <script language="javascript" src="/js/menuQuick.js"></script> -->
 
</head>
<body >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="9" bgcolor="FBFBFB"></td>
    <td width="190" height="9" bgcolor="FBFBFB"></td>
    <td width="20" height="9" bgcolor="FBFBFB"></td>
    <td width="890" height="9" bgcolor="FBFBFB"></td>
    <td height="9" bgcolor="FBFBFB"></td>
  </tr>
  <tr>
    <td height="29" background="/image/top_bg01.gif">&nbsp;</td>
    <td><a href="javascript:addfavorites()"><img src="/image/top1.gif" width="190" height="29" border="0"></a></td>
    <td background="/image/top_bg01.gif">&nbsp;</td>
    <td background="/image/top_bg001.gif"><table width="890" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="613" background="/image/top_logo_01_up.gif"><table width="613" height="29" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="8"></td>
            <td height="8" colspan="2"></td>
          </tr>
          <tr>
            <td width="300" height="18"></td>
            <td width="312" height="18"><div align="right" class="style18 9point"><!-- 로그아웃 들어갈 자리입니다. 로그아웃은 로그아웃 버튼 top_right_menu01_up.gif를 이용하세요!  --></div></td>
            <td width="1"></td>
            </tr>
        
          <tr>
            <td height="3"></td>
            <td height="3" colspan="2"></td>
          </tr>
        </table></td>
   
    <?php
   
    // 2015-01-21
    if ($U->login){ ?>
    <td width="54" height="29">&nbsp;</td>
    <td><a href="/member/logout.php" Onfocus=this.blur()><img src="/image/top_right_menu01_up.gif" width="46" height="29" border="0"></a></td>
    <td><a href="/my/cart.php" Onfocus=this.blur()><img src="/image/top_right_menu03.gif" width="69" height="29" border="0"></a></td>
    <td><a href="/my/ord_list.php" Onfocus=this.blur()><img src="/image/top_right_menu04.gif" width="50" height="29" border="0"></a></td>
    <td><a href="/my/ord_list.php" Onfocus=this.blur()><img src="/image/top_right_menu05.gif" width="58" height="29" border="0"></a></td>
  <?}else{?>
       <td><a href="/member/login.php" Onfocus=this.blur()><img src="/image/top_right_menu01.gif" width="46" height="29" border="0"></a></td>
    <td><a href="/member/join.php" Onfocus=this.blur()><img src="/image/top_right_menu02.gif" width="54" height="29" border="0"></a></td>
    <td><a href="/my/cart.php" Onfocus=this.blur()><img src="/image/top_right_menu03.gif" width="69" height="29" border="0"></a></td>
    <td><a href="/my/order_guest.php" Onfocus=this.blur()><img src="/image/top_right_menu04.gif" width="50" height="29" border="0"></a></td>
    <td><a href="/my/ord_list.php" Onfocus=this.blur()><img src="/image/top_right_menu05.gif" width="58" height="29" border="0"></a></td>
  <?}?>
        
      </tr>
    </table></td>
    <td background="/image/top_bg01.gif">&nbsp;</td>
  </tr>
 
 <tr>
    <td>&nbsp;</td>
 
    <!-- 작은배너 시작 -->
 <td>
 <a href="/shop/sale.php?sort=sale_price&category=52&count=15&sort4=desc&search_value=&price=&page=1"><img src="/upload/banner/banner_MAT_1376963166_1.gif" width="190" height="107"></a></td>
    
    </td>
 <!-- 작은배너 끝  -->
 
    <td>&nbsp;</td>
    <td><table width="890" height="107" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="613"><a href="/" Onfocus=this.blur()><img src="/image/top_logo_new.gif" width="613" height="107" border="0"></a></td>
        <td>&nbsp;</td>
        <td align="right"><a href="/shop/list.php?category=0"><img src="/image/top_right_banner_001.gif" width="197" height="107"></a></td>
        </tr>
    </table></td>
    <td>&nbsp;</td>
  </tr>
 
<tr><td></td>
    <td colspan="3" height="0">
 <div style="position:relative;z-index:199;" id="top_cate_all">
 <div id="top_cate">
   <table border="0" cellpadding="0" cellspacing="0"><tr>
    <td valign="top">
      
      <div id="submenu1" onmouseover="javascript:resetmenutimer();" onmouseout="javascript:setmenutimer();">
        <table border="0" cellpadding="0" cellspacing="0" id="top_2dep">
        <tr>  
            
                  <td class="mcate1"><a href="/shop/list.php?grp=target&category=1">Drexel Heritage</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=2">Thomasville</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=4">Stanley</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=5">Bernhardt</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=6">Bassett</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=7">Broyhill</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=8">Legacy</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=9">WynWood</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=A">Pulaski</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=B">Lee Furniture</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=W">J&D Home</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=C">J&D USA</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=D">J&D Italy</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=E">Lane</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=F">Violino</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=O">BM Ultra</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=G">Aspenhome</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=I">Caracole</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=K">Nicolettihome</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=L">Incanto</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=M">Stein World</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=N">Sealy</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=P">Kingsdown</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=Q">Young America</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=R">Rowe</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=S">Potterybarn</a></td>
                <td class="mcate1"><a href="/shop/list.php?grp=target&category=T">Ralph Lauren</a></td>
        </tr><tr>        <td class="mcate1"><a href="/shop/list.php?grp=target&category=U">Hanssem</a></td>
                                <td class="mcate1"><a href="/shop/list.php?grp=target&category=X">New Classic</a></td>
             </tr>
      </table>
     
          
          
         
      </div>
    </td>
    <td></td>
   </tr></table>
</div>
</div>
</td>
<td></td>
</tr>
 
 
 
  <tr>
    <td bgcolor="#CCCCCC">&nbsp;</td>
    <td bgcolor="#CD681B"><a href="#"><div id="top_1dep" onclick="javascript:showmenu('submenu1');" onmouseout="javascript:setmenutimer();"  ><img src="/image/topmenu_0.gif" width="190" height="36" border="0">  </td>
    <td bgcolor="#363636">&nbsp;</td>
    <td><table width="890" height="36" border="0" cellpadding="0" cellspacing="0" bordercolor="#666666">
      <tr>
        <td width="143" bgcolor="#363636"><a href="/shop/bedroom.php?category=1" Onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('topmenu1','','/image/topmenu_1_up.gif',1)"><img src="/image/topmenu_1.gif" name="topmenu1" width="143" height="36" border="0"></a></td>
        <td width="144" bgcolor="#363636"><a href="/shop/livingroom.php?category=2" Onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('topmenu2','','/image/topmenu_2_up.gif',1)"><img src="/image/topmenu_2.gif" name="topmenu2" width="144" height="36" border="0"></a></td>
        <td width="147" bgcolor="#363636"><a href="/shop/diningroom.php?category=31" Onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('topmenu3','','/image/topmenu_3_up.gif',1)"><img src="/image/topmenu_3.gif" name="topmenu3" width="147" height="36" border="0"></a></td>
        <td width="134" bgcolor="#363636"><a href="/shop/sale.php?category=1" Onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('topmenu4','','/image/topmenu_4_up.gif',1)"><img src="/image/topmenu_4.gif" name="topmenu4" width="134" height="36" border="0"></a></td>
        <td width="125" bgcolor="#363636"><a href="/shop/sale.php?category=2" Onfocus=this.blur() onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('topmenu5','','/image/topmenu_5_up.gif',1)"><img src="/image/topmenu_5.gif" name="topmenu5" width="125" height="36" border="0"></a></td>
        <td width="86" bgcolor="#363636"> <a href="/community/review.php?code=howto&page=" Onfocus=this.blur()> <img src="/image/topmenu_comunity.gif" width="86" height="23" border="0"></a></td>
        <td width="86" bgcolor="#363636"> <a href="/community/reviewq_list.php" Onfocus=this.blur()> <img src="/image/topmenu_service_center.gif" width="86" height="23" border="0"></a></td>
        <td bgcolor="#363636"><img src="/image/topmenu_6.gif" width="25" height="36"></td>
      </tr>
    </table></td>
    <td bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
  <tr>
    <td background="/image/topmenu_under_bg.gif">&nbsp;</td>
    <td colspan="3">
 
 
 <table width="1100" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="500" background="/image/topmenu_under_bg.gif">&nbsp;</td>
  <form id="form2" name="form2" method="get" action="/shop/search.php"> <td width="200" background="/image/topmenu_under_bg.gif">
  <input type="hidden" name="lmode" value="1"> 
 
           <table width="100%" height="43"  border="0" cellpadding="0" cellspacing="0">
     <tr>
       <td height="6"></td>
       <td height="6"></td>
       <td height="6"></td>
       <td height="6" ></td>
       </tr>
     <tr>
       <td valign="middle"><input name="search_value" type="text" id="cate_search" style="padding-top:1px; color:#000; font-size:12px; height:16px; width:250px; letter-spacing: 0px; border:solid 1px #ff8800;" onClick="this.value='';" size="12"/></td>
       <td width="10" height="12">&nbsp;</td>
       <td><input name="image" type="image" src="../../image/shop/search_button1.gif" align="top" border="0"  complete="complete"/></td>
       <td ></td>
       </tr>
     <tr>
    
    <td width="260" height="16"></td>
    <td width="5" height="16">&nbsp;</td>
    <td width="80" height="16">&nbsp;</td>
     <td >&nbsp; </td>
     </tr>
   
  </table>
     
     
  </td></form>
 
        <td width="172" background="/image/topmenu_under_bg.gif"><table width="172" height="43" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="4"></td>
          </tr>
          <tr>
            <td height="3"><a href="/map.php" Onfocus=this.blur()><img src="/image/showroom.gif" width="172" height="21" border="0"></a></td>
          </tr>
          <tr>
            <td height="18"></td>
          </tr>
        </table></td>
        <td width="25" height="43" background="/image/topmenu_under_bg.gif"></td>
      </tr>
    </table></td>
    <td background="/image/topmenu_under_bg.gif"></td>
  </tr>
</table>
 
 
<link href="../css/body_layout.css" rel="stylesheet" type="text/css">
<link href="/css/layout.css" rel="stylesheet" type="text/css">
<link href="/css/jnd.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/css/contentslider.css" />
 
 
<div id="wrap">
<div class="content">
<div class="left_sub_menu">
 
<p style="margin-top: 0px;">
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
  ga('create', 'UA-52126221-1', 'jndhome.com');
  ga('send', 'pageview');
 
</script>
<script language='JavaScript'>
<!--

function setCookie( name, value, expiredays )
{
    var todayDate = new Date();
        todayDate.setDate( todayDate.getDate() + expiredays );
        document.cookie = name + '=' + escape( value ) + '; path=/; expires=' + todayDate.toGMTString() + ';'
}

function closeWin(flag, layer)
{
    var obj  = window.event.srcElement;

    if ( flag )
    {
        setCookie( layer, 'done' , 1 );
    }
    document.all[layer].style.visibility = 'hidden';
}

window.onload = function() // 윈도우즈 로딩이 끝난후
{
    cookiedata = document.cookie;
    var divs   = document.all.tags('DIV'); // DIV 들을 가져옵니다.

    for(var i=0; i<divs.length; i++)
    {
        if(divs[i].className=='layer_popup') // DIV 중에 class 가 layer_popup 로 지정된 객체들이면
        {
            // 쿠키 내에서 해당하는 div 객체의 ID 값을 가지는 객체를 가져와서 동적으로 비교
            if( cookiedata.indexOf(divs[i].id+'=done')>=0 ) document.all[divs[i].id].style.visibility = 'hidden';
            else document.all[divs[i].id].style.visibility = 'visible';
        }
    }
}

//-->
</script>
    </head>
    <body bgcolor='#FFFFFF' text='#000000' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>

<!-- POPUP -->
      <div id='divpop1' class='layer_popup' style='position:absolute;left:0px;top:0;z-index:200;visibility:hidden;'>
            <table width='300' height='310' cellpadding='2' cellspacing='0'>
                <tr>
                    <td style='border:1px #666666 solid' height='310' align='center' bgcolor='white'><img src="/popup/popup1.jpg" alt="10%할인" width="300" height="300" /></td>
                </tr>
                <tr>
                    <td align='right' bgcolor='white'>
                        <input type='checkbox' name='chkbox' value='divpop1' onclick='closeWin(true,"divpop1");'>오늘 하루 이 창을 열지 않음
                        <a href='#' value='divpop1' onclick='closeWin(false,"divpop1"); return false;'><B>[닫기]</B></a>
                    </td>
                </tr>
            </table>
        </div>
       
               
 
 
        <div id='divpop2' class='layer_popup' style='position: absolute; left: 1100px; top: 0px; z-index: 200; visibility: hidden;'>
            <table width='400' height='410' cellpadding='2' cellspacing='0'>
                <tr>
           <td style='border:1px #666666 solid' height='310' align='center' bgcolor='white'><a href="
http://jndhome.com/map.php" target="_blank"><img src="/popup/popup2.jpg" alt="open" width="400" height="400" /></td>
                </tr>
                <tr>
                    <td align='right' bgcolor='white'>
                        <input type='checkbox' name='chkbox' value='divpop2' onclick='closeWin(true,"divpop2");'>오늘 하루 이 창을 열지 않음
                        <a href='#'' onclick='closeWin(false,"divpop2"); return false;'><B>[닫기]</B></a>
                    </td>
                </tr>
            </table>
        </div>
       
       
       
       
       
<!-- POPUP 150117 -->    
       
       
          <div id='divpop4' class='layer_popup' style='position: absolute; left: 300px; top: 0px; z-index: 200; visibility: hidden;'>
            <table width='400' height='410' cellpadding='2' cellspacing='0'>
                <tr>
                    <td style='border:1px #666666 solid' height='410' align='center' bgcolor='white'><a href="
http://www.jndhome.com/shop/list_bedroom_best.php?category=O" target="_blank"><img src="/popup/popup4.jpg" alt="sale" width="400" height="400" /></a></td>
                </tr>
                <tr>
                    <td align='right' bgcolor='white'>
                        <input type='checkbox' name='chkbox' value='divpop4' onclick='closeWin(true,"divpop4");'>오늘 하루 이 창을 열지 않음
                        <a href='#'' onclick='closeWin(false,"divpop4"); return false;'><B>[닫기]</B></a>
                    </td>
                </tr>
            </table>
        </div>
 
  <!-- POPUP 150117 -->             
 
       
       
                <div id='divpop3' class='layer_popup' style='position: absolute; left: 700px; top: 0px; z-index: 200; visibility: hidden;'>
            <table width='400' height='410' cellpadding='2' cellspacing='0'>
                <tr>
                    <td style='border:1px #666666 solid' height='410' align='center' bgcolor='white'>
                    <embed src=http://www.youtube.com/v/Xnb6NOblNRk?version=2&autoplay=1&loop=1 width=400 height=400>
                    </td>
                </tr>
                <tr>
                    <td align='right' bgcolor='white'>
                        <input type='checkbox' name='chkbox' value='divpop3' onclick='closeWin(true,"divpop3");'>오늘 하루 이 창을 열지 않음
                        <a href='#'' onclick='closeWin(false,"divpop3"); return false;'><B>[닫기]</B></a>
                    </td>
                </tr>
            </table>
        </div>
       

 <!-- POPUP 150112 -->   
익스에서는 뜨는데 파폭에는 안 뜨네요 ㅠㅠ
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호