473,769 Members | 4,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Publicatio n" in the right upper corner triggers
the concerned code. In the code:

menuwd = window.open(loc url, 'kenbelmenu',
'toolbar=no,loc ation=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(p osX, 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 2529


BoBi wrote:

menuwd = window.open(loc url, 'kenbelmenu',
'toolbar=no,loc ation=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(loc url, 'kenbelmenu',
'toolbar=no,loc ation=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(loc url, 'kenbelmenu',
'toolbar=no,loc ation=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
8089
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; border:1px solid red;'>Floated left</div> <div id='right' style='float:right; border:1px solid blue;'>Floated right</div>
2
1692
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 the user is using FireFox the user is presented with a login dialog box and that login info is validated against the web servers local user name list and not the doamin username list. How do I get it to authenticate to the domain when using...
5
4681
by: PI | last post by:
Hi I want to do with css like this: logo ------ short text (1 line only) --------
1
6404
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 browser?. What are the steps to do this?. Do I have to delete it from the hard drive and then re-install it?. I'd like to have the chance to use other browsers, when I want. I have Mac OSX 10.4.8. ...
1
1589
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 everything in Dreamweaver. Everything looks perfect in IE6 or 7, but when I open Mozilla Firefox, my footer bar is stuck in middle of the page, and alot text on some pages are overlapping each other. I have never seen or heard of anything like...
3
4105
by: Laurahn | last post by:
The function javascript:window.close() is not working in firefox. how do i close browser window in firefox.
1
1950
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 java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source)
15
1649
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? http://classifiedads.officeresalesolutions.com/TesT.html Thanks! Tim
3
9056
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 windows read the URL currently displayed in each web browser and if the URL matches a particular regular expression it needs to get/set form fields displayed in the web browser. Basically I need something like Windows COM and Internet Explorer...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10212
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10047
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3962
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.