still roblem with browser windows minimising

message from mojooz on 22 Jul 2004
My original question was -

'On one page on my site I have a list of links. On clicking, each one opens a
small browser window containing an image and accompanying text. If you then
close this new window before opening another from the list of links all is well
but if you leave the first window open and then click on another link, the
first window minimises as the next one is opened.

If you don?t realise that this has happened it looks as though the first
window has disappeared. If you then go back to its link and click again it
doesn?t work ? because it?s already open. This leaves the visitor thinking that
the links don?t work properly any more: not good. I watched a friend test run
my site and this is exactly what happened.

Is there a way of making the first browser window close when a new link is
clicked or maybe stopping it from minimising?

I?d be very grateful for any insight into this problem.

Thanks. '

I received an answer:
"When you open this small window, give it a name (if you are using the
OpenBrowserWindow behavior there's a field to do that). Use this name as
the target for all of your links."

Trouble is, this makes the situation worse. If I give the same name to all of
the new browser windows, clicking on the first link is fine but clicking on a
second link, it closes the first but minimises the second. This makes it look
as tho? the second click has closed the first window but not opened the next
one (if you don?t spot the new one is there but minimised).

Even if you do notice that the second window is there, you have to click again
to open it. This means clicking at least twice to open every new window, which
is clearly no good. Also naming all the windows the same messes with the window
sizes so they mostly no longer fit the contents. Help!
 
Murray *TMM* replied to mojooz on 22 Jul 2004
The answer I gave you will work if it is implemented properly. I am
guessing that the implementation is your problem. Can you show me your
code, please?

By the way, attachments are discouraged for this and other Macromedia
forums, and to make matters worse, they do not carry forward from the
webforums into the NNTP forums, which is where most of the people who post
answers are visiting. If you want to broadcast your code so that everyone
can see it, the only real way is a) to paste it into a reply (not great if
there is lots of code), or b) to upload it somewhere and post a URI to it.

Be aware that if you paste voluminous quantities of code into a reply, the
code may get truncated when transferring to the NNTP forum. This can be
quite confusing to both poster, and reader. The best bet would be to upload
the page and post a URI.
 
mojooz replied to Murray *TMM* on 23 Jul 2004
Hi Murray

<p><font face="Arial, Helvetica, sans-serif"><b><font size="5"><a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/farOut.htm','farOut','width=278,heigh
t=260')">far
out</a><br>
<a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/notsofar.htm','notSoFar','width=255,h
eight=300')">not
so far</a><br>
<a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/closer.htm','closer','width=412,heigh
t=260')">closer</a><br>
<a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/closerStill.htm','closerStill','width
=411,height=320')">closer
still</a><br>
<a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/zoom.htm','zoom','width=407,height=36
0')">zooming
in</a><br>
<a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/almost.htm','almost','width=503,heigh
t=340')">almost
here</a><br>
<a href="#"
onClick="MM_openBrWindow('Maps/Map%20Pages/arrived.htm','arrived','width=252,hei
ght=380')">arrived!</a></font></b></font></p>

To make it clear what I did ? I just highlighted each link, added the
openbrowserwindow behavior, designated width and height and named each window
?map?.

If my implementation is wrong I apologise but this was my understanding of the
message. Many thanks for taking the time and trouble to follow up my query. It
is appreciated.
 
Murray *TMM* replied to mojooz on 23 Jul 2004
Actually, it appears you have given each window a different name, no?

farOut
notSoFar
closer
etc.
 

Archived message: still roblem with browser windows minimising (Macromedia Dreamweaver)