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 4794
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.globosapien s.net/subapp_profiles/travel-picture.php?fil e_name=chiang-mai-report-1461-6.jpg&caption=G LOBOsapiens.net &add_r=guest&ad d_s=&vlimit=0#u ndefined>
the initial window continued to show the URL
<http://www.globosapien s.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_c enter('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.globosapien s.net/subapp_profiles/travel-picture.php?fil e_name=chiang-mai-report-1461-6.jpg&caption=G LOBOsapiens.net &add_r=guest&ad d_s=&vlimit=0#u ndefined>
the initial window continued to show the URL <http://www.globosapien s.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_c enter('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_c enter(...); 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_c enter(...); 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_c enter('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_c enter(...); 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_c enter(...); 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.globosapien s.net/">
in the head of your HTML document meaning that
<a href="#" onclick=open_ce nter(...); 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
popWindow=window.open('http://www.yahoo.com','','width=600,height=400,toolbar=1,location=1,menubar=1,resizable=1,titlebar=1,directories=1,status=1,scrollbars=1');
the sidebars are disabled. I click on the buttons for bookmarks and history
and they do nothing. I...
|
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 align="center">
|
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 alpha 2) only brings it to the top if the
window 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 Mozilla/Firefox that I can ensure that this
|
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 Mozilla/Firefox that I can ensure that this
window comes to the top?
Thank you for your help
|
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 the image. The
desired behavior is that when the pop-up is invoked, I want the
underlying window to stay put.
I don't have this problem when I run the code on my local computer but
I do have it when I run the code on geocities.
| |
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
infoWindow=window.open('usgsMain.html','USGSwindow','status=no,resizable=yes,scrollbars=yes');
|
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 to be two techniques for earlier versions. But the
window.opener='' ;window.close();
and the
window.open('','_parent','') ;window.close();
techniques do not work for me. I.e., I still get confirmation message
|
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 Firefox is set to open
targeted links in new tabs) and be able to change the preview window's
location.href from the opening window, even after a new page is loaded
into that window.
Is there any way to do that?
|
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,...
|
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...
|
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...
| |
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |