묻고답하기

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 남기남
voszmffjq 마퀴태그 질문좀요 [3] 2015.09.17 by voszmffjq
과니 관리자 페이지 접속시 500 에러 디버깅 방법 문의 [3] file 2015.09.16 by 배워서남준다
용가리13호 로그인 스킨 변경 후 로그인 문제 [2] file 2015.09.15 by 용가리13호
sundriespds 업데이트 오류 [1] 2015.09.11 by treasurej
꼬무다라이 xe 코어 업데이트 쉬운설치 클릭 후 홈피 다운~ [3] 2015.09.11 by treasurej
천화케빈 HTTP 500 내부 오류 ㅠㅠ [3] 2015.09.03 by 꾸링
김깔끔 홈페이지 접속하면 수시로 http 500 내부서버오류 가 뜹니다. [2] 2015.09.02 by 김깔끔
이주연743 갑자기 워닝 이게 왜그럴까요? [2] 2015.08.26 by 퍼니엑스이
PeuG 익명 게시판 익명 방식 관련 질문 [1] 2015.08.26 by 기진곰
내별명4d4d4 html이 먹히지 않습니다 [1] 2015.08.20 by 닉이
KOTRA1 랜덤 익명을 md5로 처리하면 작성자가 누구인지 알 수 있나요? [3] 2015.08.11 by KOTRA1
boorigong 토글레이어 쿠키 적용법 문의드립니다. file  
다미아빠 XE를 위한 서버 대해서 질문합니다. [36] file 2015.07.30 by 다미아빠
기억속으로 HTTP 500 내부 서버 오류 문제 ㅠ 부탁드립니다. [4] file 2015.07.27 by 기억속으로
리키한 롤링배너 관련 질문 드립니다. ㅜ,.ㅜ file  
JinkPark socialxe 에 로그인 폼 수정파일은 어디에 있나요? [2] file 2015.07.17 by JinkPark
피씨토머 환장하겠네요... [6] 2015.07.16 by 옆집옵하
플라이나 스케치북 익명게시판 애드온 작동이안됩니다 [2] 2015.07.15 by 플라이나
Flolida XE 고수분께 여쭙니다. 외부페이지 레이아웃 연결 [12] file 2015.07.14 by Flolida
애플즈 게시글 삭제 오류 [2] file 2015.07.12 by 애플즈