Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: (OT) Windows |
| From: | Tim Allan |
| Date: | Fri, 10 Sep 1999 00:57:04 +0100 |
I have sort have done what you required with dreamwavers built in Javascript
behaviours.
Thr function you are referring to is the onFocus/offFocus behaviours.
Essentially what you are doing is detecting which window is the currently
active one (focused) and then closing the window that is not in focus.
Dreamweavers built in fucntions covers this.
I have done it where the main navigation calls a pop-up window. When the
user switches back to the main window, the pop up closes itself.
If I remeber correctly, there were two ways to do it:
1) the pop up window ahd a javascript fiunction which detected when it was
offFocus and closed itself
2) The main window had an onfocus script that closed the pop up window
Hope this helps
Tim
-----Original Message-----
From: owner
Sent: Friday, September 10, 1999 9:31 AM
To: Flash List
Subject: FLASH: (OT) Windows
Hi ,
I have also posted this on the Dreamweaver lists but thought that maybe
people on this list could also help.
I am trying to close a window when I leave it - how?
or
I am trying to open an index page for a site to a certain size with the
option of turning on/off features e.g menubar, location etc. It would also
be great if the site could open in the centre of the screen.
I can get a new window to open with the open new window behavior but I can't
figure out how to kill the window it came from.
I have searched sites for a javascript solution but to no avail.
Any help would be great.
Regards
Phil Ward
Crescent Graphics
phil-w
New Media <> Internet <> Visuals <> A/W
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
FLASH: (OT) Windows, Phil Ward
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

