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_popu p.html',55 0,400,null ,null,'myw inname01') ");
}
The javascript in the main HTML page is this:
<script language="javascript" type="text/javascript" src="chromeless.js"></scri pt>
<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,dir ectories=0 ,status=0, menu
bar=0,scrollbars=0,resizab le=0'
var fSO ='scrolling=no noresize'
chromeless(u,n,W,H,X,Y,cD, cU,cO,cL,t H,tW,wB,wB s,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
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_popu
}
The javascript in the main HTML page is this:
<script language="javascript" type="text/javascript" src="chromeless.js"></scri
<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,dir
bar=0,scrollbars=0,resizab
var fSO ='scrolling=no noresize'
chromeless(u,n,W,H,X,Y,cD,
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
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
Best,
NoBob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks avner. I'll stick to ordinary popups.
Best,
NoBob
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.
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.
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
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
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
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
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 ?