View Full Version : Chromeless windows


PerpetualSound
04-09-2003, 08:13 PM
i'm having trouble getting the chromeless window thing to work. i followed the 4 steps, and it's not working. i downloaded the file, added the tag to where it said to. added the code to my link, and uploaded the unziped the file and uploaded it. i don't know if i have to upload the different things in the file seperately or not. and i have no clue what i'm dong wrong. i was wondering if someone could give me a more detailed explanation on what to do? like, really detailed, or else i will get confused easily..

epolady
04-09-2003, 10:51 PM
May we see either the coding you've used or the page where the error(s) is. Thank you.

PerpetualSound
04-10-2003, 12:41 AM
here is the code that goes in the head tag:
<script src="chromeless_35.js"></script>
<script language="javascript">
// CREDITS:
// Chromeless window script by Gabriel Suchowolski ( www.microbians.com )
// Distributed with permission by Lissa ( www.lissaexplains.com )
function openIT(u,W,H,X,Y,n,b,x,m,r) {
var cU ='close_up.gif'
var cO ='close_ovr.gif'
var cL ='clock.gif'
var mU ='min_up.gif'
var mO ='min_ovr.gif'
var xU ='max_up.gif'
var xO ='max_ovr.gif'
var rU ='res_up.gif'
var rO ='res_ovr.gif'
var tH ='<font face=verdana size=1>[ Perpetual Sound ]</font>'
var tW =' window title'
var wB ='#9966ff'
var wBs ='#FFFFFF'
var wBG ='#ffe0ff'
var wBGs='#9966ff'
var wNS='toolbar=0,location=0,directories=0,status=0,m enubar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=no noresize'
var brd =b||0;
var max =x||false;
var min =m||false;
var res =r||true;
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,wBGs,wNS,fSO,brd,max,min,res,tsz)
}
</script>

and here is the code that goes with the link:
<a href="#" onclick="mywindow=openIT('http://www.geocities.com/perpetualsound3/main.htm',400,200,null,null,'[Perpetual Sound ]')">Enter</a>

and, here is the website that has the code on it:
www.geocities.com/perpetualsound3