Link to home
Start Free TrialLog in
Avatar of NoBob
NoBob

asked on

why does chromeless popup go full screen?

Hi,

I have a problem with a chromeless popup window that always wants to go full screen. It initially opens at the right size, then goes full screen (you can see 'close' button jump across the top title bar).

I've uploaded the pages here http://www.architecturemix.com/home.html If you click on the top photo button (this is a test page, so it's the only one that 'works' at the moment), you'll see the problem.

I'm using this actionscript on the button:

on (release) {
getURL("javascript: openIT('Cartier_movie_popup.html',550,400,null,null,'mywinname01')");
}


The javascript in the main HTML page is this:

<script language="javascript" type="text/javascript" src="chromeless.js"></script>
<script language="javascript">
function openIT(u,W,H,X,Y,n) {
var cD ='close_down.png'
var cU ='close_up.png'
var cO ='close_over.png'
var cL
var tH ='<font face=verdana size=2 color=#FFFFFF >ArchitectureMix</font>'
var tW ='ArchitectureMix'
var wB ='#3399FF'
var wBs ='#000062'
var wBG ='#000062'
var wBGs='#00FF00'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu
bar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=no noresize'
chromeless(u,n,W,H,X,Y,cD,cU,cO,cL,tH,tW,wB,wBs,wB
G,wBGs,wNS,fSO)
}
</script>

I've asked the same question on actionscript forums, but people think it's a javascript problem. What is overriding my settings?

TIA
NoBob
Avatar of avner
avner

The whole idea behind the chromless windows is that is first being opend as a full-screen window then it is resized.
This is a security hole that the chromless idea is designed upon, This was fixed in IE6 and it can not be used any more.
Is it possible you are using IE6 ?
Avatar of NoBob

ASKER

Thanks, I am using IE6. But I posted this query on another forum, and one person that replied said that it worked for him. He was using IE6.

Best,
NoBob
ASKER CERTIFIED SOLUTION
Avatar of avner
avner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NoBob

ASKER

Thanks avner. I'll stick to ordinary popups.

Best,
NoBob
Why B ? are you missing anything in my answer ?
It doesn't works on IE6 SP1...

But seems that one of the creators of this script have a solution...

Try in www.chromeless.org and download the BYKLEIN Chromeless window Script.



Avatar of NoBob

ASKER

Hi samy,

That's great. Thanks for that. It works fine now. I've uploaded the results here temporarily (this is a test page, as the launch date isn't till April 9) www.architecturemix.com/am-home.html Only the top photo links to a chromeless so far. Any comments about the look of the site so far would be welcome.

Very best,
NoBob
Avatar of NoBob

ASKER

Hi samy,

That's great. Thanks for that. It works fine now. I've uploaded the results here temporarily (this is a test page, as the launch date isn't till April 9) www.architecturemix.com/am-home.html Only the top photo links to a chromeless so far. Any comments about the look of the site so far would be welcome.

Very best,
NoBob