Hi there,
I have a serious problem with opening a new window with the help of JavaScript.
The problem only occures with Firefox.
Once you click on the item which fires up the open function, the new window
opens up, but in the background the original window loads the homepage. I cant
find a way to fix this so the site remains in the old window.
Please have a look, if you click on the picture with the car you will see the
problem. http://www.globosapiens.net/travel-i...+Mai-1461.html
It looks like this is only true for clicking within the first few seconds ( am
on a 2Mbit DSL connection), after waiting for about 10 seconds it works without
loading the main page. Very strange
Thank you for any help,
Merlin 7 4767
Merlin wrote: I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox.
Which version of Firefox? Have you tried other Mozilla browsers as well?
Once you click on the item which fires up the open function, the new window opens up, but in the background the original window loads the homepage. I cant find a way to fix this so the site remains in the old window.
Please have a look, if you click on the picture with the car you will see the problem. http://www.globosapiens.net/travel-i...+Mai-1461.html
It looks like this is only true for clicking within the first few seconds ( am on a 2Mbit DSL connection), after waiting for about 10 seconds it works without loading the main page.
I have loaded that URL with Firefox 1.0 and clicked the picture as soon
as possible, a popup showed the following URL:
<http://www.globosapiens.net/subapp_profiles/travel-picture.php?file_name=chiang-mai-report-1461-6.jpg&caption=GLOBOsapiens.net&add_r=guest&add_s=& vlimit=0#undefined>
the initial window continued to show the URL
<http://www.globosapiens.net/travel-information/Chiang+Mai-1461.html>
so I cannot reproduce the problem.
What do you mean by "loads the homepage", which URL is the homepage?
--
Martin Honnen http://JavaScript.FAQTs.com/
Hello Martin,
I am using the newest version of Firefox, but the problem was existant with all
prior versions.
After I load the page and click onthe image: http://www.globosapiens.net/travel-i...+Mai-1461.html
The homepage (which is the main page: http://www.globosapiens.net ) loads in the
initial window.
This might be because of the hash inside the link:
<a href="#" onclick="open_center('http://www.g
Any ideas?
Thank you in advance, Merlin
Martin Honnen wrote:
Merlin wrote:
I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox.
Which version of Firefox? Have you tried other Mozilla browsers as well?
Once you click on the item which fires up the open function, the new window opens up, but in the background the original window loads the homepage. I cant find a way to fix this so the site remains in the old window.
Please have a look, if you click on the picture with the car you will see the problem. http://www.globosapiens.net/travel-i...+Mai-1461.html
It looks like this is only true for clicking within the first few seconds ( am on a 2Mbit DSL connection), after waiting for about 10 seconds it works without loading the main page.
I have loaded that URL with Firefox 1.0 and clicked the picture as soon as possible, a popup showed the following URL: <http://www.globosapiens.net/subapp_profiles/travel-picture.php?file_name=chiang-mai-report-1461-6.jpg&caption=GLOBOsapiens.net&add_r=guest&add_s=& vlimit=0#undefined>
the initial window continued to show the URL <http://www.globosapiens.net/travel-information/Chiang+Mai-1461.html> so I cannot reproduce the problem. What do you mean by "loads the homepage", which URL is the homepage?
Merlin wrote: After I load the page and click onthe image: http://www.globosapiens.net/travel-i...+Mai-1461.html
The homepage (which is the main page: http://www.globosapiens.net ) loads in the initial window.
This might be because of the hash inside the link: <a href="#" onclick="open_center('http://www.g
As you have
return false
after the open_center() call I don't see a problem, as said I can't
reproduce the problem here.
Does the Firefox JavaScript console show any errors for you?
I think you use the
<a href="#" onclick="open_center(...); return false">
construct a lot on that page, does that problem only occur with that
particular link or with all those links?
--
Martin Honnen http://JavaScript.FAQTs.com/
Merlin wrote: Hi there,
I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox. Once you click on the item which fires up the open function, the new window opens up, but in the background the original window loads the homepage. I cant find a way to fix this so the site remains in the old window.
Please have a look, if you click on the picture with the car you will see the problem. http://www.globosapiens.net/travel-i...+Mai-1461.html
It looks like this is only true for clicking within the first few seconds ( am on a 2Mbit DSL connection), after waiting for about 10 seconds it works without loading the main page. Very strange
Thank you for any help,
Merlin
I'm using FireFox 1.0 and when I click on the pic, I get a new window
with a larger pic and two Google ads above. I assume this is the
desired behavior..?
NM
> Does the Firefox JavaScript console show any errors for you? I think you use the <a href="#" onclick="open_center(...); return false"> construct a lot on that page, does that problem only occur with that particular link or with all those links?
There are no errors shown in the JS console. The problem occures with any open
center link on that page (all pictures and the comment on the verry bottom).
I guess it has something to do with the XML integration of the hostel engine on
the bottom. Until the whole code is loaded the problem apears (that the main
window will load the root page (homepage) after clicking on an open center link.
After the hostel code is loaded the problem disapears.
The problem also apears on Netscape. Try to click on a picture close the window
and click on the next picture. Sooner or later it happens.
Very strange. Any ideas?
Thank you in advance for your help,
Merlin
Martin Honnen wrote:
Merlin wrote:
After I load the page and click onthe image: http://www.globosapiens.net/travel-i...+Mai-1461.html
The homepage (which is the main page: http://www.globosapiens.net ) loads in the initial window.
This might be because of the hash inside the link: <a href="#" onclick="open_center('http://www.g
As you have return false after the open_center() call I don't see a problem, as said I can't reproduce the problem here. Does the Firefox JavaScript console show any errors for you? I think you use the <a href="#" onclick="open_center(...); return false"> construct a lot on that page, does that problem only occur with that particular link or with all those links?
News Me wrote: Merlin wrote:
Hi there,
I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox. Once you click on the item which fires up the open function, the new window opens up, but in the background the original window loads the homepage. I cant find a way to fix this so the site remains in the old window.
Please have a look, if you click on the picture with the car you will see the problem. http://www.globosapiens.net/travel-i...+Mai-1461.html
It looks like this is only true for clicking within the first few seconds ( am on a 2Mbit DSL connection), after waiting for about 10 seconds it works without loading the main page. Very strange
Thank you for any help,
Merlin
I'm using FireFox 1.0 and when I click on the pic, I get a new window with a larger pic and two Google ads above. I assume this is the desired behavior..?
NM
Yes it is, but the main initiating page loads the / root page. That is the
problem. So the report is gone and the main page loads instead. Try it a view
times and you will see what I mean.
Regards,
Merlin
--
GLOBO - Travel Community http://www.globosapiens.net
Travel pictures, travelogues
Merlin wrote: > Does the Firefox JavaScript console show any errors for you? > I think you use the > <a href="#" onclick="open_center(...); return false"> > construct a lot on that page, does that problem only occur with that > particular link or with all those links?
There are no errors shown in the JS console. The problem occures with any open center link on that page (all pictures and the comment on the verry bottom).
You have
<BASE HREF="http://www.globosapiens.net/">
in the head of your HTML document meaning that
<a href="#" onclick=open_center(...); return false">
link indeed links to http://www.globosapiens.net/#
thus if you get that URL loaded then somehow the return false doesn't work.
I however see lots of errors in the Firefox JavaScript console alike the
following
Error: e has no properties
Source File: http://www.globosapiens.net/app_glob...milonic_src.js
Line: 19
so you have code in there that causes script errors with Firefox. As
that script code is unformatted gibberish, probably due to some source
code compression, I have no chance to look at that further.
You might want to start with reducing the page to isolate the error,
with all that is currently in that page it is hard to figure what could
be wrong.
--
Martin Honnen http://JavaScript.FAQTs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dominic Tocci |
last post by:
I'm searching for a way to use window.open on my web page to open a window
in firefox that allows the sidebars to work (bookmarks, history, etc).
When I use the following:
var...
|
by: Markus |
last post by:
Hi,
i have this problem:
Sometimes, i can't reproduce, if i click on an small image on the
website, the popup _AND_ an other Tab in firefox open.
Here are the linkcode:
<div...
|
by: Csaba Gabor |
last post by:
Up until a few weeks ago, javascript code like
window.open("http://mydomain.com", "windowName");
would always bring my new or reused window to the top, with focus.
Lately, Firefox (Deer park...
|
by: tochiromifune |
last post by:
Hello
The window.open method brings my window to the top only if it is new. If
it's being reused, the window does not come to the foreground (with IE 6 it
does).
Is there a new way in...
|
by: len.hartley |
last post by:
Hi,
I am trying to pop-up a window when the user clicks on an image. The
problem is that when the user clicks on the image and the window pops
up OK, but the window underneath also proceeds to...
|
by: arajunk |
last post by:
In Firefox this opens a full size window (maximized) . In IE it opens
the partial window requiring user to click restore (upper right) to
maximize. What am I missing ?
var...
|
by: Toccoa |
last post by:
After considerable googling - I mean searching with Google(r) - I
could not find javascript on a button or <a href=... to close a
window in the latest versions of IE and FireFox.
There seemed...
|
by: deBaer |
last post by:
Hi!
For an in-house web application (it will only be deployed on Firefox
browsers with JavaScript turned on), I need to open a preview window
(which needs to be a separate window, even if...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: 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,...
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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 ...
| |