Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

microbians chromeless window how to

Status
Not open for further replies.

hithere

Programmer
Jul 12, 2001
214
US
I want to remove the close window x from the corner of the pop up window. I've noted the vars in red that appear to control it. Anyone used this and done this before? here's the code:
<script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;chromeless_35.js&quot;></script>
<script language=&quot;javascript&quot;>
function openIT(u,W,H,X,Y,n,b,x,m,r) {
var cU ='img/close_up.gif'
var cO ='img/close_ovr.gif'
var cL ='img/clock.gif'
var mU ='img/min_up.gif'
var mO ='img/min_ovr.gif'
var xU ='img/max_up.gif'
var xO ='img/max_ovr.gif'
var rU ='img/res_up.gif'
var rO ='img/res_ovr.gif'
var tH ='<font face=verdana size=1>window title</font>'
var tW ='window title'
var wB ='#000000'
var wBs ='#FFFFFF'
var wBG ='#FF0000'
var wBGs='#00FF00'
var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=yes res=yes'
var brd =b||0;
var max =x||false;
var min =m||false;
var res =r||false;
var tsz =20;
return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wNS,wBGs,fSO,brd,max,min,res,tsz)
}
</script>
<title>New Page 1</title>
</head>
<body>
<SPAN class=CODEtxt><a href=&quot;#&quot; onclick=&quot;mywindow=openIT('../../../personal/schedules/werposting.htm',200,200,null,null,'mywindowname',1,false,false,true)&quot;>OPEN CHROMELESS</a></SPAN>
</body> &quot;Where's the Ka-Boom? There's supposed to be an Earth-shattering Ka-Boom!&quot;
Marvin the Martian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top