View Full Version : Help! Chromeless Window!


faerie_princess
05-09-2003, 01:17 AM
Hi! :) I was trying to make a chromeless window(with lissa's script), but for some reason, my chromeless window doesn't work :( Can someone tell me what's wrong with my code:


<html>

<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=verdana size=1> Window Title</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,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>


<body>

<a href="#" onclick="mywindow=openIT('http://www.freewebs.com/fantasyfaeries/chromeless.html',400,200,null,null,'mywindowname')">Open Chromeless</a>



</body>

</html>

Lemon Squash
05-09-2003, 01:37 AM
There’s a space in the url your trying to link it to 'http://www.freewebs.com/fantasyfaeries/chromeless. html' take that out and see if it works.

faerie_princess
05-09-2003, 02:31 AM
Ok, I'll try that ;) Also, so just so you know, I uploaded the chromeless images,too.

faerie_princess
05-09-2003, 02:34 AM
Hi! :) I took the space out, but it still doesn't work :( Is there something else wrong with the script?

Lemon Squash
05-09-2003, 03:27 AM
Replace your code with this.

<html>
<head>
<title></title>
<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> Window title</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,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>
<body>
<a href="#" onclick="mywindow=openIT('http://www.freewebs.com/fantasyfaeries/chromeless.html',400,200,null,null,'mywindowname')">Open Chromeless</a>
</body>
</html>

It should work.

faerie_princess
05-10-2003, 01:18 AM
Ok, I'll try that ;) Thanks! :)

faerie_princess
05-10-2003, 05:02 AM
I tried that code, but it still didn't work :( I'm not sure what to do! I uploaded the files, got rid of that space in-between, & checked the code. Is the link supposed to go on a different page than the chromeless window? Also, where do you edit what goes inside (like text, pictures, etc.) the chromeless window?

Thanks for helping! ;)

Lemon Squash
05-10-2003, 05:47 AM
Thats strange.. i tested that code i gave you on my computer.. and it worked, no the link doesnt go on a different page. You make a new page just like a normal one and you just link the code to that..

example:

<a href="#" onclick="mywindow=openIT('PAGE YOU WANT TO OPEN IN CHROMLESS',400,200,null,null,'
mywindowname')">Open Chromeless</a>

Also what host are you using?

faerie_princess
05-14-2003, 01:21 AM
I tried it again, but still, nothing happened :( For some reason my chromeless window just isn't working! I checked that I uploaded all the images & that the code was right, but when I try to click on the chromeless link, nothing happens :(

faerie_princess
05-20-2003, 03:01 AM
Does anyone else have ideas on why it's not working? :(

faerie_princess
06-29-2003, 07:25 PM
*Sigh*- I just can't fihure out what's wrong :(

lefty
06-29-2003, 07:59 PM
Still? You're quite persistent!

Mind posting a link to your page?

adrielle
07-02-2003, 04:23 AM
i cant download the thing from lissaexplains...:(. and for some reason, everytime i type in a code (long ones) they NEVER work so i always have to go thru em again...