View Full Version : Chromeless Window 2


Michele
02-01-2003, 04:33 PM
I have the chromeless window code on my website already, and the code. But when i click the link to go to another area, it doesn't open up a chromeless window. What am i doing wrong?

starlet
02-01-2003, 05:24 PM
Could we see a link to the page please? makes it alot easier to help than just guessing :)

Michele
02-01-2003, 07:36 PM
Its here http://www.lissaexplains.com/java9.shtml

Dude128
02-01-2003, 07:45 PM
you'll have to post a link to your page, so we can see what you're doing :)

Michele
02-01-2003, 07:47 PM
I just did its here http://www.lissaexplains.com/java9.shtml

Dude128
02-01-2003, 07:49 PM
no, you will have to post a link to your page, the one that you're trying to use the code on.

Michele
02-01-2003, 07:54 PM
okay, sorry its here

http://www.freewebz.com/blueblumaroo/blinkies.htm

I don't know where to put this code

<a href="http://www.freewebz.com/blueblumaroo/home.htm" onclick="mywindow=openIT('http://www.freewebz.com/blueblumaroo/home.htm',400,200,null,null,'Home')">Home</a>

Dude128
02-01-2003, 07:58 PM
that is the code for the link- so it should go wherever you want the link to appear.

also, the chromeless code itself should go in the head section of the page, and there should be a </head> tag after it. then the link goes anywhere between the <body> and </body> tags.

Michele
02-01-2003, 07:59 PM
okay, thanks i think that is my problem. Thanks so much.

Michele
02-01-2003, 08:06 PM
I still can't get it to work

Dude128
02-01-2003, 08:20 PM
I just noticed that you're missing this part of the code:
<script src="chromeless_35.js"></script>
you will also need to make sure that you uploaded the chromeless_35.js file

that should go just before the script code you have.

not a huge huge deal, but you should also have a </html> tag at the very end of the document (after the </body> tag) :)

Michele
02-01-2003, 08:21 PM
Okay thanks, i didn't have this code

<script src="chromeless_35.js"></script>

Thanks so much.

Michele
02-01-2003, 08:35 PM
Here is my whole code. WHAT AM I DOING WRONG. Tis is such a confusing 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 ='http://www.boomspeed.com/blueblumaroo/close_up.gif'
var cO ='http://www.boomspeed.com/blueblumaroo/close_ovr.gif'
var cL ='http://www.boomspeed.com/blueblumaroo/clock.gif'
var mU ='http://www.boomspeed.com/blueblumaroo/min_up.gif'
var mO ='http://www.boomspeed.com/blueblumaroo/min_ovr.gif'
var xU ='http://www.boomspeed.com/blueblumaroo/max_up.gif'
var xO ='http://www.boomspeed.com/blueblumaroo/max_ovr.gif'
var rU ='http://www.boomspeed.com/blueblumaroo/res_up.gif'
var rO ='http://www.boomspeed.com/blueblumaroo/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.freewebz.com/blueblumaroo/home.com',40,90,null,null,'http://www.freewebz.com/blueblumaroo/home.com')">home</a>


</body>
</html>

Alcy
02-01-2003, 09:56 PM
<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 ='http://www.boomspeed.com/blueblumaroo/close_up.gif'
var cO ='http://www.boomspeed.com/blueblumaroo/close_ovr.gif'
var cL ='http://www.boomspeed.com/blueblumaroo/clock.gif'
var mU ='http://www.boomspeed.com/blueblumaroo/min_up.gif'
var mO ='http://www.boomspeed.com/blueblumaroo/min_ovr.gif'
var xU ='http://www.boomspeed.com/blueblumaroo/max_up.gif'
var xO ='http://www.boomspeed.com/blueblumaroo/max_ovr.gif'
var rU ='http://www.boomspeed.com/blueblumaroo/res_up.gif'
var rO ='http://www.boomspeed.com/blueblumaroo/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, menubar=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.freewebz.com/blueblumaroo/home.html', 40, 90, null, null, 'mywindowname')">
home
</a>


</body>
</html>

Michele
02-01-2003, 10:05 PM
Still doesn't work, does anyone know and earlyier version, becasue i don't think v3.5 works on windows XP. Does anyone know of an earlier version

Dude128
02-02-2003, 01:22 AM
did you make sure you uploaded the file? and anyway, if that version of the chromeless window for some reason didnt work on Windows XP, it would still work for me. the OS really doesn't make a difference, only the browser. the only thing wrong with chromeless windows in XP occurs with a service pack installed, and I think that only affects the size of the window, if I'm not mistaken.

Michele
02-02-2003, 01:33 AM
I don't now, i downloaded it, unzipped it, and uploaded it.

Alcy
02-02-2003, 02:59 AM
Did you upload the js to a different directory? Not blueblumaroo?

altpara
02-02-2003, 10:31 AM
Sorry guys but she was right.

Warning! The Chromeless Window script currently does NOT work in Windows XP from SP1 (Service Pack 1) and thereon after. The problem is due to a changed behavior in XP that prevents Chromeless Windows all together (security update). We're still observing to see if this behavior will be changed soon, though if not, may have to remove this script altogether. If you wish to use Chromeless Windows, please make sure you understand the above - Oct 28th, 2002

From:
http://www.dynamicdrive.com/dynamicindex8/chromeless.htm


Mary

lefty
02-02-2003, 03:45 PM
Well.... that depends on whether she has the service pack or not. Right now we can't get the script to work at all, I know when the service pack has been downloaded the window will open.

Michele
02-03-2003, 02:15 PM
I just downloaded it, but i will skip that and just make a normal window to pop up for now.