The 1st window opens the 2nd window. The 2nd window opens the 3rd window.
From the 3rd window, how do I close the 3rd and 2nd windows then change the
URL of the 1st window? Thanks. 2 1891
I came up with this but still have problems. Please read below.
I am opening 3 windows. I name the 1st one "the1stone" with the script
below. This code is in the 1st window.
<script>
window.name="th e1stone";
</script>
I open the 2nd window from the 1st window. Then I open a 3rd window from the
2nd window.
I then close the 3rd and 2nd windows and change the URL on the first window
with the code below. This code is in the 3rd window. It works fine in IE6.
Firefox and Netscape 8 closes the 3rd and 2nd windows but will not change
the URL in the 1st and remaining window. What can I do? Thanks.
<area target="the1sto ne" href="http://www.myurl.com" shape="rect"
coords="91, 108, 156, 132"
onclick="window .close(); opener.close()" >
"Buddha Pest" <as*@qwerzxc.or gwrote in message
news:DS******** *********@newsr ead1.news.pas.e arthlink.net...
The 1st window opens the 2nd window. The 2nd window opens the 3rd window.
From the 3rd window, how do I close the 3rd and 2nd windows then change
the URL of the 1st window? Thanks.
I was able to solve my problem with a timer (see below). This works in
Netscape 8, Firefox and IE6 as well.
<SCRIPT LANGUAGE="JavaS cript">
<!--
function closethem() {
setTimeout('sel f.close(); opener.close()' ,200);
}
//-->
</SCRIPT>
<area target="the1sto ne" href="http://myurl.co"
shape="rect" coords="91, 108, 156, 132" onclick="javasc ript:closethem( )">
"Buddha Pest" <as*@qwerzxc.or gwrote in message
news:XP******** ********@newsre ad2.news.pas.ea rthlink.net...
>I came up with this but still have problems. Please read below.
I am opening 3 windows. I name the 1st one "the1stone" with the script
below. This code is in the 1st window.
<script>
window.name="th e1stone";
</script>
I open the 2nd window from the 1st window. Then I open a 3rd window from
the 2nd window.
I then close the 3rd and 2nd windows and change the URL on the first
window with the code below. This code is in the 3rd window. It works fine
in IE6. Firefox and Netscape 8 closes the 3rd and 2nd windows but will not
change the URL in the 1st and remaining window. What can I do? Thanks.
<area target="the1sto ne" href="http://www.myurl.com" shape="rect"
coords="91, 108, 156, 132"
onclick="window .close(); opener.close()" >
"Buddha Pest" <as*@qwerzxc.or gwrote in message
news:DS******** *********@newsr ead1.news.pas.e arthlink.net...
>The 1st window opens the 2nd window. The 2nd window opens the 3rd window. From the 3rd window, how do I close the 3rd and 2nd windows then change the URL of the 1st window? Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Albretch |
last post by:
Hi,
client wants for a window with no toolbars to open (technical and
'esthetical' reasons) after the window, user clicks on, is being
closed.
I told them about security settings in browsers and no cross-browsers
solutions and all of that we know, but they have told me they have
seen that before and how then the annoying pop-up windows work? . . .
|
by: David |
last post by:
Hello,
I have an application that has been running for years
and had little problem with it. We've been retesting the
latest code under Windows 2003 and found a surprise.
There is a certain case where we allow the MDI app
to close the database and the user can later request
the open dialog. This normally calls the CDatabase
open with the flags that allow the ODBC Open Dialog
|
by: RJN |
last post by:
Hi
Sorry for posting again.
I open a few pop-up windows from a main window. If session time out
occurs in either the main window or the pop-up windows ,I redirect the
user to login screen. Currently what is happening is , suppose session
times out in a pop-up window, then the login screen opens in the same
window. I want to close all the Pop-up window, main window and redirect
the user to the login screen. If I can redirect to the main...
|
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: Academic |
last post by:
I have a MDI form, sometimes child forms and sometimes forms that are
neither
If I close the app the child forms closing and closed event happens followed
by the Mdi form receiving the events..
But the regular forms that are also open do not receive that event. This is
true whether there are child forms open or not.
| |
by: Ryan Liu |
last post by:
Hi,
Both way works, I'd just ask some experts which way is better?
My application creates a log file daily.
Now each time when I write a log, I will open the file and append to the
end. Ocz, if the file is not exist(e.g. another day), it will creates the
file first.
|
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: sheldonlg |
last post by:
Does anyone know how to open a window and have it close by itself? You
may ask why, but here it is. I want to have it open (a php script), run
that script, and then close itself.
I have an application that is a huge AJAX framework app. There appears
to be some interaction between that and the mail sending software I
have. I want to send email with a file attached. The software I am
using for that is htmlMimeMail5 (php5). Since I...
|
by: existential.philosophy |
last post by:
This is a new problem for me: I have some queries that open very
slowly in design view.
My benchmark query takes about 20 minutes to open in design view. That
same query takes about 20 minutes to open in datasheet view. As an
experiment, I deleted all rows in all tables; after that, the query
took only seconds to open in both design view and datasheet view. From
these facts, I conclude that Access is evaluating the query when I go
to...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |