?
Solved

why does chromeless popup go full screen?

Posted on 2003-03-16
8
Medium Priority
?
185 Views
Last Modified: 2012-05-04
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
0
Comment
Question by:NoBob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 14

Expert Comment

by:avner
ID: 8146031
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 ?
0
 

Author Comment

by:NoBob
ID: 8146041
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
0
 
LVL 14

Accepted Solution

by:
avner earned 90 total points
ID: 8146055
He was wrong. Chromless window iwll not work on IE6 .
http://www.dynamicdrive.com/dynamicindex8/chromeless.htm
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:NoBob
ID: 8146070
Thanks avner. I'll stick to ordinary popups.

Best,
NoBob
0
 
LVL 14

Expert Comment

by:avner
ID: 8146072
Why B ? are you missing anything in my answer ?
0
 

Expert Comment

by:_samy_
ID: 8151589
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.



0
 

Author Comment

by:NoBob
ID: 8153556
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
0
 

Author Comment

by:NoBob
ID: 8153716
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
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question