473,544 Members | 550 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 2507


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
8064
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
1668
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...
5
4675
by: PI | last post by:
Hi I want to do with css like this: logo ------ short text (1 line only) --------
1
6391
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...
1
1580
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...
3
4097
by: Laurahn | last post by:
The function javascript:window.close() is not working in firefox. how do i close browser window in firefox.
1
1936
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...
15
1620
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
9042
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...
0
7365
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...
0
7607
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. ...
0
7772
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...
1
5297
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...
0
3415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3409
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1841
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
1
988
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
661
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.