홈페이지 팝업창 다시한번 없애는 것 알려주세요 ㅜㅠ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

홈페이지 팝업창 다시한번 없애는 것 알려주세요 ㅜㅠ 정보

홈페이지 팝업창 다시한번 없애는 것 알려주세요 ㅜㅠ

본문

http://www.pulsecam.co.kr

팝업창을 띄었는데 여기 홈페이지 팝업창 중에

맨 처음에 띄어지는 팝업창을 없애려면 어떻게

어디서 수정해야 하나요?

밑에 고수님이 여기 부분을 없애라고 하시는데

 if ( getCookie( "cookiePopup_2" ) != "done" )
{
        popupWindow  =  window.open('popup.asp?popupid=2','popup_2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=500,left=10,top=10');
        popupWindow.opener = self;
}

이 부분이 어디파일 안에 있는지 모르겠습니다.

  • 복사

댓글 전체

와.. 홈페이지 디자인이 장난아닙니다.
모델 몸매도 장난 아니군요 -_-;;;;;

말씀하신 팝업은 그누보드 소스가 아니네요.
임의로 삽입 되어진 소스인데..

HTML 또는 asp 또는 php 파일 상단에 보시면,
<script language="text/javascript src="./common.js"></script>
형식으로... src="" 해서 자바스크립트 소스를 인크루드 해서 씁니다.

그게 아니라면, <head></head> 사이에 소스가 있겠죠...
어떤 파일들이 있는지 모르니까 다른 사람들도 모르겠네요.

index.htm은 아닌거 같구요
주로 index 나 main 으로 시작 하는파일들에 많으니 찾아보세요

아예
<script language="javascript">
function getCookie( name )
{
        var nameOfCookie = name + "=";
        var x = 0;
        while ( x <= document.cookie.length )
        {
                var y = (x+nameOfCookie.length);
                if ( document.cookie.substring( x, y ) == nameOfCookie ) {
                        if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
                                endOfCookie = document.cookie.length;
                        return unescape( document.cookie.substring( y, endOfCookie ) );
                }
                x = document.cookie.indexOf( " ", x ) + 1;
                if ( x == 0 )
                        break;
        }
        return "";
}

if ( getCookie( "cookiePopup_2" ) != "done" )
{
        popupWindow  =  window.open('popup.asp?popupid=2','popup_2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=500,left=10,top=10');
        popupWindow.opener = self;
}

</script>

이부분을 다 지워보세요 굳이 필요 없는거 같은데요
인덱스.htm 파일 소스입니다. ㅜㅜ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>생활과학 펄스켐</title> <LINK href="css/text1.css" type=text/css rel=StyleSheet>
<script>
<!--
var memobj = new Array();
function syncheight(obj){
 if(obj){
  obj.style.height=obj.contentWindow.document.body.scrollHeight;
 }else{
  while(memobj.length>0){
  memobj[0].style.height=memobj[0].contentWindow.document.body.scrollHeight;
  memobj.shift();
  }
 }
}
self.moveTo(0,0); // 현재 위치 지정
self.resizeTo(screen.availWidth,screen.availHeight);
//-->
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
/

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function objectlaunchSwf(tId, width, height, url){
document.write("<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 id='" + tId + "' width='" + width + "' height='" + height + "'>");
document.write("<param name=movie value='" + url + "'>");
document.write("<PARAM NAME=loop VALUE=false>");
document.write("<PARAM NAME=menu VALUE=false>");
document.write("<PARAM NAME=quality VALUE=high>");
// document.write("<PARAM NAME=wmode VALUE=transparent>");
document.write("<embed src='" + url + "' quality=high name='" + tId + "' pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width='" + width + "' height='" + height + "'></embed></object>");
}
//-->
</SCRIPT>
<!-- 프레임소스보기 금지

<script language="JavaScript">
if(parent.frames.length <= 0) { top.location.href="http://tagin.net"; }
</script>

// -->

<!-- 프레임소스보기 금지

<script language="JavaScript">
if(parent.frames.length <= 0) { top.location.href="http://tagin.net"; }
</script>

// -->
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
#tab2 {DISPLAY: none
}
#tab3 {DISPLAY: none
}
#tab4 {DISPLAY: none
}
-->
</style>

<script language='javascript' src='script01.js'></script>
<script language='javascript' src='script02.js'></script>

</head>
<body background="images_01/main_bg.gif" text="#ffffff"  leftmargin='0'  topmargin='0' marginwidth='0' marginheight='0')" oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onkeydown="return false">

<table width="951" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="951" align="left" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="106"><script language="JavaScript" type="text/javascript">
objectlaunchSwf('index', '951', '106',"/flash/main_top.swf");
</script></td>
      </tr>
      <tr>
        <td width="951" height="355"><script language="JavaScript" type="text/javascript">
objectlaunchSwf('index', '951', '355',"/flash/main_body.swf");
</script></td>
      </tr>
      <tr>
        <td align="center"><table width="951" border="0" align="left" cellpadding="0" cellspacing="0">
            <tr>
              <td width="951"><table width="803" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="49" align="left" valign="top"><img src="images_01/m_blank_001.gif" width="49" height="22" /></td>
                    <td width="191" align="left" valign="top"><table width="191" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td align="left" valign="top"><img src="images_01/m_info.gif" width="191" height="22" /></td>
                        </tr>
                        <tr>
                          <td height="11" align="left" valign="top"><img src="images_01/m_00.gif" width="33" height="11" /></td>
                        </tr>
                        <tr>
                          <td width="191" height="126" align="left" valign="top"><script language="JavaScript" type="text/javascript">
objectlaunchSwf('index', '167', '100',"/flash/m_content.swf");
</script></td>
                        </tr>
                    </table></td>
                    <td width="45" align="left" valign="top"><img src="images_01/m_blank_002.gif" width="45" height="22" /></td>
                    <td width="260" align="left" valign="top"><table width="191" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="260" align="left" valign="top"><img src="images_01/m_product.gif" width="260" height="22" /></td>
                        </tr>
                        <tr>
                          <td width="260" height="11" align="left" valign="top"><img src="images_01/m_00.gif" width="33" height="11" /></td>
                        </tr>
                        <tr>
                          <td width="260" height="126" align="left" valign="top"><script language="JavaScript" type="text/javascript">
objectlaunchSwf('index', '260', '126',"/flash/m_content_001.swf");
</script></td>
                        </tr>
                    </table></td>
                    <td width="27" align="left" valign="top"><img src="images_01/m_blank_003.gif" width="27" height="22" /></td>
                    <td width="280" align="left" valign="top"><div id="tab1">
                        <table cellspacing="0" cellpadding="0" width="280" border="0">
                          <tbody>
                            <tr>
                              <td width="117" height="22"><a href="javascript:changeTabImg('1','2','4','tab');void('0');"> <img src="images_01/m_notice.gif" width="117" height="22" border="0" /></a></td>
                              <td width="163" height="22"><a href="javascript:changeTabImg('2','1','4','tab');void('0');"> <img src="images_01/m_event.gif" width="163" height="22" border="0" /></a></td>
                            </tr>
                          </tbody>
                        </table>
                      <table cellspacing="0" cellpadding="0" width="280" border="0">
                          <tbody>
                            <tr>
                              <td width="280" align="left" valign="top"><table width="280" border="0" cellspacing="0" cellpadding="0">
                                  <tr align="left" valign="top">
                                    <td height="11" valign="middle" align="left"><img src="images_01/m_00.gif" width="33" height="11" /></td>
                                  </tr>
                                  <tr align="left" valign="top">
                                    <td height="126" align="left" valign="middle"><iframe src="http://pulsecam.co.kr/preview_page.asp?pagecode=021" scrolling="No" frameborder="0" width="280" height="126"></iframe></td>
                                  </tr>
                              </table></td>
                            </tr>
                          </tbody>
                        </table>
                    </div>
                        <div id="tab2">
                          <table cellspacing="0" cellpadding="0" width="280" border="0">
                            <tbody>
                              <tr>
                                <td width="117" height="22"><a href="javascript:changeTabImg('1','2','4','tab');void('0');"> <img src="images_01/m_notice.gif" width="117" height="22" border="0" /></a></td>
                                <td width="163" height="22"><a href="javascript:changeTabImg('2','1','4','tab');void('0');"> <img src="images_01/m_event.gif" width="163" height="22" border="0" /></a></td>
                              </tr>
                            </tbody>
                          </table>
                          <table cellspacing="0" cellpadding="0" width="280" border="0">
                            <tbody>
                              <tr>
                                <td width="280" valign="top" align="left"><table width="280" border="0" cellspacing="0" cellpadding="0">
                                    <tr align="left" valign="top">
                                      <td height="11" valign="middle" align="left"><img src="images_01/m_00.gif" width="33" height="11" /></td>
                                    </tr>
                                    <tr align="left" valign="top">
                                      <td height="126" align="left" valign="middle"><iframe src="http://pulsecam.co.kr/preview_page.asp?pagecode=022" scrolling="No" frameborder="0" width="280" height="126"></iframe></td>
                                    </tr>
                                </table></td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                      <div id="tab3"> </div>
                      <div id="tab4"> </div></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td><table width="951" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="718" align="left" valign="top"><img src="images_01/main_footer.gif" width="718" height="76" /></td>
                    <td width="282" align="center" valign="top" background="images_01/link_bg.gif"><iframe src="site_link.htm" frameborder="0" bordercolor="white" width="198" height="76"  marginwidth="0" marginheight="0" scrolling="No"> </iframe></td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td align="left">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
 
  <tr>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
</table>
</body>
</html>

어떻게 지워야하지.. 미치겠어요.ㅠㅠ
인덱스.htm 는 아닙니다.
실제 주소로 들어가 보면 인덱스.htm 파일이 아이프레임으로 들어가 있던데요..
다른 파일이에요.

어떤 프로그램으로 파일을 열어 보시는지 모르겠지만 다 열어서 파일에서 단어 찾기 기능으로
cookiePopup_2 를 검색해보시면 금방 찾으실거에요.

에디트 플러스 라면 콘트롤+h 키로 찾으시면 되구요
© SIRSOFT
현재 페이지 제일 처음으로