473,385 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

IE 6.0 ignores screenX (Y) parameters in window.open(...). Firefox not.

Hi,

See the following URL for the concerned page:
http://home.scarlet.be/kenya-belgium...lgian_cat.html
Clicking on "Menu" or "Publication" in the right upper corner triggers
the concerned code. In the code:

menuwd = window.open(locurl, 'kenbelmenu',
'toolbar=no,location=no, directories=no, status=no, menubar=no,
scrollbars=no, resizable=yes, copyhistory=no,' +
'width=' + wd + ', height=' + ht + ', screenX=' + posX + ', screenY='
+ posY + '');

IE 6.0 ignores the screenX (Y) parameters in window.open. Firefox does
not. To solve the problem I added:

menuwd.moveTo(posX, posY);

Nevertheless this makes the popup menu flicker with IE moving it
visibly from its original locaton to the intended one.

Is there a way to solve this problem?

Thanks and best regards,

BoBi

Sep 30 '06 #1
3 2500


BoBi wrote:

menuwd = window.open(locurl, 'kenbelmenu',
'toolbar=no,location=no, directories=no, status=no, menubar=no,
scrollbars=no, resizable=yes, copyhistory=no,' +
'width=' + wd + ', height=' + ht + ', screenX=' + posX + ', screenY='
+ posY + '');

IE 6.0 ignores the screenX (Y) parameters in window.open.
For IE use e.g.
'left=' + posX + ',top=' + posY

<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 30 '06 #2
Martin Honnen wrote:
BoBi wrote:

menuwd = window.open(locurl, 'kenbelmenu',
'toolbar=no,location=no, directories=no, status=no, menubar=no,
scrollbars=no, resizable=yes, copyhistory=no,' +
'width=' + wd + ', height=' + ht + ', screenX=' + posX + ', screenY='
+ posY + '');

IE 6.0 ignores the screenX (Y) parameters in window.open.

For IE use e.g.
'left=' + posX + ',top=' + posY
BoBi: Thanks. I will try it out for sure. Also thanks for the links.
:c), BoBi
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 1 '06 #3
Hi,

I used left and top and put the result online. It is working fine now.
Thanks a lot.

:c), BoBi

BoBi wrote:
Martin Honnen wrote:
BoBi wrote:

menuwd = window.open(locurl, 'kenbelmenu',
'toolbar=no,location=no, directories=no, status=no, menubar=no,
scrollbars=no, resizable=yes, copyhistory=no,' +
'width=' + wd + ', height=' + ht + ', screenX=' + posX + ', screenY='
+ posY + '');
>
IE 6.0 ignores the screenX (Y) parameters in window.open.
For IE use e.g.
'left=' + posX + ',top=' + posY
BoBi: Thanks. I will try it out for sure. Also thanks for the links.
:c), BoBi
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Niels | last post by:
Hi group, I have some problems with clearing floated divs. My usual method works fine in Konqueror, but not in Firefox. Here's an example: <html><body> <div id='left' style='float:left;...
2
by: Buddy Ackerman | last post by:
If my web site is setup for NTLM authentication and the user is using IE the context.user.identity.name property is the domain user that is currently logged into the local client workstation. Wehen...
5
by: PI | last post by:
Hi I want to do with css like this: logo ------ short text (1 line only) --------
1
by: p8000 | last post by:
This browser seems to have so many problems. One more: I try to have this Fire browser (version 2.0.0.1) as Not default, but so far, without success. How can I have this browser as not default...
1
by: gtawebstudios | last post by:
Hello Everyone, I just finished creating a nice website for my search engine optimzation company using Macromedia Dreamweaver MX. I bought a web template from Template Monster.com and edited...
3
by: Laurahn | last post by:
The function javascript:window.close() is not working in firefox. how do i close browser window in firefox.
1
by: yaha1982 | last post by:
hi friends I create one java Program for Opening FireFox browser at run time but it gives error java.io.IOException: CreateProcess: firefox portal.uspto.gov error=2 at...
15
by: qwarehouse | last post by:
Hello, I am having an issue with javascript in firefox. On this URL, there should be a menu displayed above a dashed line. Works ok in IE6 & 7 but no menu displays in firefox. Any sugestions? ...
3
by: Scott | last post by:
I have a requirement to control a firefox web browser from an external python program. The python program running under linux from a command shell needs to first find all open firefox web browser...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.