| | |
|
|
|
Slight problem with pop up windows |
| message from Claude Saccaro on 24 Jul 2004 |
On a page that has buttons that launch pop up windows I'm finding out
that in Netscape7 / MacOSX and IE5 / Win XP, it seems if a visitor was
to launch a window then not close it then return to the main page an try
to launch another window, the button will not launch a new window but
load the linked page content in the already open window (which would now
be behind the main window).
Any way to make sure that a new window is launched even if the visitor
has not closed the previous window?
URL:
http://www.diatom-ae.com/sv/audiomenu1.html
(This page is normally within a frameset that is itself within a
launched pop up window).
|
| Murray *TMM* replied to Claude Saccaro on 24 Jul 2004 |
Choosing frames is now coming back to bite you.
In the pages that will be in the popup window, adjust the body tag -
<body onLoad="self.focus()"....>
|
| Claude Saccaro replied to Murray *TMM* on 24 Jul 2004 |
Thanks Murray.
I tried putting the code: onLoad="self.focus()" in the body tag of the
page that is to pop up. That page is, humm, a frameset so I tried
putting it in the frameset page and in the main page that appears in the
frameset. Neither one seems to work.
Any idea?
URL of a sample pop up page:
http://www.diatom-ae.com/sv/sampl1qt.html
(I haven't yet put the self.focus code here)
Murray *TMM* wrote:
|
| T.Pastrana - 4Level replied to Claude Saccaro on 24 Jul 2004 |
Try putting onLoad="top.focus()" in any of the pages that is in the popup
Frameset.
|
| Claude Saccaro replied to T.Pastrana - 4Level on 25 Jul 2004 |
onLoad="top.focus()" worked well thanks.
I notice that it's causing a momentary white page when loading. Is there
anyway to prevent that so that basically the page immediately loads with
the background colour I chose (black). This happened in IE 5 and Safari
before I added the commmand. In Netscape, pages normally are black as
soon as they load.
Claude Saccaro wrote:
|
| Murray *TMM* replied to Claude Saccaro on 24 Jul 2004 |
All I can tell you is that using frames is a poor design decision. You
would not have this problem on flat pages. Sorry - I don't know how to help
you out of this one.
|
|
Archived message: Slight problem with pop up windows (Macromedia Dreamweaver Web Design)