View Full Version : chromless window impaired please help


x sinful angel
04-18-2003, 07:13 PM
im trying to put chromeless windows up in my crappy angelfire site..and i got them to work..but the question i have is when i click the link on the page, the window comes up..but it still has the aol window thing around it..i remember seeing chromeless windows that just the window popped up..not with all that aol hoopla around it..this is what i mean..<a href="http://www.angelfire.com/un/derwear/future/ishere.html" target="_blank">here</a> click this is girl..and the chromeless should pop up..also i would like to know how i can incorporate a css link into the page with the chromeless window..id like to make that section all links and id like to have em match...this is the html i have as of now...its a lil messy though..
<head>
<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=redensek size=2>trendy ^^^^^</font>'
var tW =' window title'
var wB ='#000000'
var wBs ='#FFFFFF'
var wBG ='#ff99ff'
var wBGs='#ccffcc'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=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>
</head>
<html>
<a href="#" onclick="mywindow=openIT('http://www.angelfire.com/un/derwear/girl.html',400,400,null,null,'girl')">this is girl</a>
<body>
<LINK REL=stylesheet HREF="color2.css" TYPE="text/css">
</body>
</html>
and yet another question..if i want to put multiple links do i have to redo the whole entire code over again for each window or just the link for them..thanks for puttin up with me and for all your help

MaGiCSuN
04-19-2003, 12:34 PM
to start use this code instead. you had the stylesheet in the <body> part while this had to be in the <head> and more stuff like that. I changed it a bit:

<html>
<head>
<LINK REL=stylesheet HREF="color2.css" TYPE="text/css">
<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=redensek size=2>trendy ^^^^^</font>'
var tW =' window title'
var wB ='#000000'
var wBs ='#FFFFFF'
var wBG ='#ff99ff'
var wBGs='#ccffcc'
var wNS ='toolbar=0,location=0,di
rectories=0,status=0,menu
bar=0,scrollbars=0,resiza
ble=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>
</head>

<body>
<a href="#" onclick="mywindow=openIT('http://www.angelfire.com/un/derwear/girl. html',400,400,null,null,'
girl')">this is girl</a>
</body>
</html>

btw when i went to your page all i got where pop-ups, no angelfire bars into your pages !

Love,
Mirna