I recall reading that you're not allowed to remove all window elements anymore. It's considered a security issue.
Main Topics
Browse All TopicsI used to use a great Chromeless JS app (BYKLEIN CHROMELESS WINDOW OBJECT 2.0) that allowed my personal website to be contained within a Zero Border window - customizable in length & width, and did NOT include any form of standard Windows Button functionality....
The script since IE 6 renders into a complete nightmare...
CHROMELESS 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
//////////////////////////
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.inde
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;
//////////////////////////
openChromeless = function(){if(chromelessWW
closeChromeless = function(){if(chromelessWW
minimizeChromeless = function(){if(chromelessWW
setURL = function(){URL = arguments[0];if(chromeless
moveChromeless= function()
{
if (arguments.length == 0)
{
if (centered)
{
var tempX = w;
var tempY = h;
xPos = (screen.availWidth/2)-(tem
yPos = (screen.availHeight/2)-(te
}
}
else if(arguments[0]=="center")
{
var tempX = w;
var tempY = h;
xPos = (screen.availWidth/2)-(tem
yPos = (screen.availHeight/2)-(te
}
else
{
xPos = arguments[0];
yPos = arguments[1];
}
if((chromelessWW)&&(argume
{
if(chromelessCompatible)
{
chromelessWW.execScript('v
chromelessWW.execScript('v
chromelessWW.execScript("s
chromelessWW.execScript("f
}
else
{
chromelessWW.moveTo(xPos,y
}
}
}
resizeChromeless = function()
{
w = arguments[0];
h = arguments[1];
cH = (h-titlebarHeight)-borderS
cW = w -(borderSize*2);
if(chromelessWW)
{
chromelessWW.execScript('v
chromelessWW.execScript('v
chromelessWW.execScript("b
chromelessWW.execScript("b
chromelessWW.execScript("b
chromelessWW.execScript("b
chromelessWW.execScript("s
}
}
//////////////////////////
openParent = function()
{
chromelessCompatible = win && ie && (v55 || v60);
var sc = (scrollbars)?"yes":"no";
if (chromelessCompatible)
{
chromelessWW = window.open("about:blank",
}
else
{
chromelessWW = window.open(URL, "chromelessWindow","top="+
chromelessWW.document.titl
}
}
setChrome = function()
{
var cH = (h-titlebarHeight)-borderS
var cW = w -(borderSize*2);
this.c = "<object style='position:absolute;z
if((titlebarImage==undefin
{
titlebarContent="";
tb = false;
}
else
{
titlebarContent="<img id='menu' unselectable='on' src='"+titlebarImage+"' style='position:absolute; top:0px; left:0px;z-index:2'>";
tb = true;
}
menu = "\<div id='Title' unselectable='on' style='font-family:Arial;f
<img id='closeButton' unselectable='on' src='"+closeButton+"' width='15' height='15' style='position:absolute; top:5px; right:"+(borderSize)+"px;z
"+titlebarContent+"\<img id='minimizeButton' unselectable='on' src='"+minimizeButton+"' width='15' height='15' style='position:absolute; top:5px; right:"+(borderSize+20)+"p
<div id='fondo' unselectable='on' style='position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:"+borderC
}
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)
function objControl(){objContent = b.all("canvas").object;if(
</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><bod
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.a
var ctitle=b.all("Title");\n\
ctitle.style.visibility=('
var cclose=b.all("closeButton"
var cminimize=b.all("minimizeB
self.resizeChromeless = function(){w = arguments[0];h = arguments[1];cH = (h-'+titlebarHeight+')-'+b
self.moveChromeless = function(){if(arguments[0]
self.setURL = function(){b.all.canvas.UR
self.closeChromeless = function(){opener=self;sel
self.dragChromeless = function(){m = (arguments[0])?1:0};\n\
function setUpContent(){\n\
objContent.parentWindow.re
objContent.parentWindow.mo
objContent.parentWindow.se
objContent.parentWindow.cl
objContent.parentWindow.dr
};\n\
cclose.onclick=function(){
cminimize.onclick=function
var m=ox=oy=ix=iy=0;\n\
ctitle.onmousedown=cmove.o
ctitle.onmouseup=cmove.onm
document.body.onclick=func
setInterval("document.body
onfocus=function(){showChr
</script>\n\
</body>\n\
</html>\n\
';
chromelessWW.document.writ
chromelessWW.document.clos
chromelessWW.document.titl
chromelessWW.focus();
}
}
//////////////////////////
// PUBLIC METHODS ///
//////////////////////////
this.openChromeless = openChromeless;
this.closeChromeless = closeChromeless;
this.minimizeChromeless = minimizeChromeless;
this.setURL = setURL;
this.resizeChromeless = resizeChromeless;
this.moveChromeless = moveChromeless;
}
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: n8dogPosted on 2007-07-13 at 09:45:23ID: 19482443
Additional Code for Script:
Klein_chro meless2.0. js"></scri pt> ////////// ///////// ////////// /////////
,I,N,C,h,r ,o,m,e,l,e _,s,s_);
ess.openCh romeless() ;"><img src="open_site.jpg" border=0></a>
<script type="text/javascript" src="ByKlein_Chromeless/By
<script type="text/javascript" >
function createChromeless()
{
//////////////////////////
//This are the attributes you can customize//
//////////////////////////
var B = "index_2.html"; // URL
var Y = "MYSITE TITLE"; // title
var K = "images/title1.jpg"; // titlebarImage
var L = 20; // titlebarHeight
var E = "Arial"; // titleFont
var I = 10; // titleSize
var N = "#000000"; // titleColor
var C = false; // scrollbars
var h = 1028; // width (w)
var r = 700; // height (h)
var o = true; // centered
var m = 10; // xPos
var e = 10; // yPos
var l = "#000000"; // borderColor
var e_= 0; // borderSize
var s = "images/close1.jpg"; // minimizeBottom
var s_= "images/close1.jpg"; // closeBottom
myChromeless = new ChromelessWindow(B,Y,K,L,E
}
createChromeless()
</script>
<a href="javascript:myChromel