묻고답하기

http://opain.nayana.com크롬리스 윈도우 2.0버전으로 공부중인데요.....

윈도우 창이 뜨면 테두리에 선이 가 있어요. 아래 그림처럼요....



js화일 올립니다.

어느 부분을 수정해야 하나요?

<!-- js화일

////////////////////////////////////////////////////////////////
//                                                            //
//           BYKLEIN CHROMELESS WINDOW OBJECT 2.0             //
//             FOR MICROSOFT IEXPLORER 5.5 & UP               //
//                                                            //
//   (c) Copyright 2003. Mariano Klein || www.byklein.com     //
//         Distributed under the terms of the GNU GPL         //
//                                                            //
//    Thanks to Gabriel Suchowolski || www.microbians.com     //
////////////////////////////////////////////////////////////////

ChromelessWindow = function ()
{
        var a = ChromelessWindow.arguments;
////////////////////////////////////////////////////////////////////PRIVATE PROPERTIES
        var URL = a[0];
        var title = a[1];
        var titlebarImage = a[2];
        var titlebarHeight = a[3];
        var titleFont = a[4];
        var titleSize = a[5];
        var titleColor = a[6];
        var scrollbars = a[7];
        var w = a[8]+(a[14]*2);
        var h = a[9]+a[14]+a[3];
        var centered = a[10];
        var xPos = a[11];
        var yPos = a[12];
        var borderColor = a[13];
        var borderSize = a[14];
        var minimizeButton = a[15];
        var closeButton = a[16];
        this.author = "Mariano Klein";
        this.version = "ByKlein Chromeless Windows 2.0";
        
        
        var win = (navigator.appVersion.indexOf("Windows"))?true:false;
        var ie= (navigator.appName == "Microsoft Internet Explorer")?true:false;
        var v = navigator.appVersion;
        var v55 = v.indexOf("MSIE 5.5")?true:false;
        var v60 = v.indexOf("MSIE 6.0")?true:false;
        var chromelessCompatible = null;
        var titlebarContent = null;
        var chromelessWW = null;
////////////////////////////////////////////////////////////////////PUBLIC METHODS
        openChromeless = function(){if(chromelessWW==null || chromelessWW.closed){openParent();setChrome();moveChromeless();setParentSource();}else{chromelessWW.execScript("showChromeless()");}}
        closeChromeless = function(){if(chromelessWW && !chromelessWW.closed)chromelessWW.close();chromelessWW=null}
        minimizeChromeless = function(){if(chromelessWW && !chromelessWW.closed)chromelessWW.execScript("minimizeChromeless()")}
        setURL = function(){URL = arguments[0];if(chromelessWW && !chromelessWW.closed){chromelessWW.execScript("b.all.canvas.URL='"+URL+"'");chromelessWW.execScript("showChromeless()");}}
        moveChromeless= function()
        {
                if (arguments.length == 0)
                {
                        if (centered)
                        {
                                var tempX = w;
                                var tempY = h;
                                xPos = (screen.availWidth/2)-(tempX/2);
                                yPos = (screen.availHeight/2)-(tempY/2);        
                        }
                }
                else if(arguments[0]=="center")
                {
                        var tempX = w;
                        var tempY = h;
                        xPos = (screen.availWidth/2)-(tempX/2);
                        yPos = (screen.availHeight/2)-(tempY/2);
                }
                else
                {        
                        xPos = arguments[0];
                        yPos = arguments[1];
                        
                }
                if((chromelessWW)&&(arguments.length != 0))
                {
                        if(chromelessCompatible)
                        {
                                chromelessWW.execScript('var cx='+xPos+';');
                                chromelessWW.execScript('var cy='+yPos+';');
                                chromelessWW.execScript("showChromeless()");
                                chromelessWW.execScript("focus()");
                        }
                        else
                        {
                                chromelessWW.moveTo(xPos,yPos);
                        }
                }
        }
        resizeChromeless = function()
        {
                w = arguments[0];
                h = arguments[1];
                cH = (h-titlebarHeight)-borderSize;
                cW = w -(borderSize*2);
                if(chromelessWW)
                {
                        chromelessWW.execScript('var cw='+w+';');
                        chromelessWW.execScript('var ch='+h+';');
                        chromelessWW.execScript("b.all.canvas.style.width='"+cW+"'");
                        chromelessWW.execScript("b.all.canvas.style.height='"+cH+"'");
                        chromelessWW.execScript("b.all.closeButton.style.right='"+borderSize+"'");
                        chromelessWW.execScript("b.all.minimizeButton.style.right='"+(borderSize+20)+"'");
                        chromelessWW.execScript("showChromeless();focus()");
                }
        }
////////////////////////////////////////////////////////////////////PRIVATE METHODS
        openParent = function()
        {
                chromelessCompatible = win && ie && (v55 || v60);
                var sc = (scrollbars)?"yes":"no";
                if (chromelessCompatible)
                {
                        chromelessWW = window.open("about:blank","","top=5000,left=5000,width=100,height=100,scrollbars="+sc);
                }
                else
                {        
                        chromelessWW = window.open(URL, "chromelessWindow","top="+yPos+",left="+xPos+",width="+w+",height="+(h-20)+",scrollbars="+sc+",resizable=0");
                        chromelessWW.document.title = title;
                }        
        }        
        setChrome = function()
        {
                var cH = (h-titlebarHeight)-borderSize;
                var cW = w -(borderSize*2);
                this.c = "<object style='position:absolute;z-index:2;top:"+titlebarHeight+"px;left:"+borderSize+"px;width:"+cW+"px;height:"+cH+"px;' data='"+URL+"' id='canvas'></object>";
        
                if((titlebarImage==undefined)||(titlebarImage==null)||(titlebarImage==""))
                {
                        titlebarContent="";
                        tb = false;
                }
                else
                {
                        titlebarContent="";
                        tb = true;
                }
                menu = "
"+title+"

                        
                        "+titlebarContent+"
                        
";
                
        }        
        setParentSource = function()
        {
                if(chromelessWW)
                {
                        chromelessWW.document.open();
                        parentSource = '
                        <html>n
                        <head>n
                        <META HTTP-EQUIV="imagetoolbar" CONTENT="no">n
                        <script>n
                        var idsi = setInterval(objControl,50);n
                        function objControl(){objContent = b.all("canvas").object;if(objContent!=null){setUpContent();}};n
                        </script>n
                        </head>n
                        <body>n
                        <script>n
                        tempOpener = opener;n
                        opener = self;n
                        var c=window.createPopup();n
                        var b=c.document.body;n
                        var ox=oy=ix=iy=0;n
                        var allContent ="<html><head></head><body>'+menu+c+'</html>";n
                        b.innerHTML=allContent;n
                        var cx='+xPos+';n
                        var cy='+yPos+';n
                        var cw='+w+';n
                        var ch='+h+';n
                        window.showChromeless = function(){n
                        c.show(cx,cy,cw,ch)}n
                        var mm=false;n
                        var cmove=b.all("fondo");n
                        var cmove2=(b.all("menu"))?b.all("menu"):"";n
                        var ctitle=b.all("Title");n
                        ctitle.style.visibility=('+tb+')?"hidden":"visible";n
                        var cclose=b.all("closeButton");n
                        var cminimize=b.all("minimizeButton");n
                        self.resizeChromeless = function(){w = arguments[0];h = arguments[1];cH = (h-'+titlebarHeight+')-'+borderSize+';cW = w -('+borderSize+'*2);cw=w;ch=h;b.all.canvas.style.width=cW;b.all.canvas.style.height=cH;b.all.closeButton.style.right='+borderSize+';b.all.minimizeButton.style.right='+(borderSize+20)+';showChromeless();focus()}n
                        self.moveChromeless = function(){if(arguments[0]=="center"){var tempX = '+w+';var tempY = '+h+';xPos = (screen.availWidth/2)-(tempX/2);yPos = (screen.availHeight/2)-(tempY/2);}else{xPos = arguments[0];yPos = arguments[1];}cx=xPos;cy=yPos;showChromeless();focus()};n
                        self.setURL = function(){b.all.canvas.URL=arguments[0];showChromeless()};n
                        self.closeChromeless = function(){opener=self;self.close()};n
                        self.dragChromeless = function(){m = (arguments[0])?1:0};n
                        function setUpContent(){n
                        objContent.parentWindow.resizeChromeless = self.resizeChromeless;n
                        objContent.parentWindow.moveChromeless = self.moveChromeless;n
                        objContent.parentWindow.setURL = self.setURL;n
                        objContent.parentWindow.closeChromeless = self.closeChromeless;n
                        objContent.parentWindow.dragChromeless = self.dragChromeless;n
                        };n
                        cclose.onclick=function(){opener=self;self.close()};n
                        cminimize.onclick=function(){if(tempOpener&&!tempOpener.closed){tempOpener.window.focus()}else{opener.blur();blur()}};n
                        var m=ox=oy=ix=iy=0;n
                        ctitle.onmousedown=cmove.onmousedown=cmove2.onmousedown=function(){m=1};n
                        ctitle.onmouseup=cmove.onmouseup=cmove2.onmouseup=function(){m=0};n
                        document.body.onclick=function(){if (m){ focus();cx=ix+event.screenX-ox;cy=iy+event.screenY-oy;c.show(cx,cy,cw,ch) }else {ix=cx; iy=cy; ox=event.screenX; oy=event.screenY } };n
                        setInterval("document.body.click()",20);n
                        onfocus=function(){showChromeless();focus()}n
                        </script>n
                        n
                        </html>n
                        ';
                        chromelessWW.document.write(parentSource);
                        chromelessWW.document.close();
                        chromelessWW.document.title = title;
                        chromelessWW.focus();
                }
        }
        ////////////////////////////
        //     PUBLIC METHODS    ///
        ////////////////////////////
        this.openChromeless = openChromeless;
        this.closeChromeless = closeChromeless;
        this.minimizeChromeless = minimizeChromeless;
        this.setURL = setURL;
        this.resizeChromeless = resizeChromeless;
        this.moveChromeless = moveChromeless;
}


-->

부탁드립니다.

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
조병수 아파치는 실행이 잘되는데 mysql서버가 동작이 안되네요..  
unique 제발 조금이라도 도와주세요..  
조우현 [플래시] 다른 파일 제어하기 [1] 2007.08.10
naBya 로그인폼부분 간격 줄이는 방법 알려주세여~  
taeho 플레시 - 무비를 다른 무비의 중간에 로드를 할려면...  
이진언 플레쉬 버튼 갱신안되요 ㅠㅠ  
NeMo 서서히 나타나고 사라지는 레이어창..(조그만 도와주세요 ..) [1] 2007.08.10
ㅇ1슬♪ 테이블테두리; 다시질문이요ㅠ  
김영민 템플릿의 스타일과 제로보드의 스타일을 서로 다르게 적용하는 방법좀  
patti 제스티 카운터를 쓰는데요..  
노란꽃이야기 웹에 트래픽 현황을 보여주는 소스없을까요 [1] 2007.08.10
이준형 각 게시판의 이동에 관해서 질문드립니다.  
taeho 플레시 - 숫자를 크게 줌(zoom)시키기 알켜주세요..  
김기도 홈페이지 배경음악 질문 입니다 도와주세요~  
싸이친구™ 세션 관련 질문입니다. ㄱ- [1] 2007.08.10
bornljg 고수님들 이것좀 도와주세요 벌써 5일째 진도가 안나가요 ㅋ [1] 2007.08.10
aji 제로보드 서버이전 후 패스워드 문제.. [1] 2007.08.10
naBya 플래시에서 만든 mail액션을 php와 연동 시키려면 어떠캐 해야 되나여?  
James 두가지 화면의 움직이는 gif에서 링크를 각기 다르게 어떻게 거나요? [3] 2007.08.10
박철순 sub menu가 게시판과 중복되는 문제...  
BadFriends 불규칙 다차원배열  
PAIN 크롬리스 윈도우 창 테두리 수정하는 법좀 알려주세요~~  
kasiyas 디자인.. 질문이요.. [2] 2007.08.10
unique 혹시 바이오리듬 소스 가지신분 없나요!!  
PAIN 새로운창 열리면 부모창 자동으로 최소화 되는 소스는요??  
최정수 한번에 두개의 프레임을 바꾸기  
민사원 싸이월드에서만 html 에 신기한 현상이 발생해서요; [1] 2007.08.10
이민순 아이프레임 기본좀 알려주세요.  
권기찬 일반 게임 클라이언트로도 서버구축가능할까요? [2] 2007.08.10
감자가죠아 노프레임 홈페이지 헤드와 풋... ㅠ.ㅜ; [3] 2007.08.10