Forums

This topic is locked

open browser window problem

Posted 13 Jun 2001 02:24:35
1
has voted
13 Jun 2001 02:24:35 Melvyn Rattenbury posted:
I have images on the site that I am creating which when clicked send you to
another URL, I have added a behaviour which opens a new window (so that my
site is still in the background) My problem is that sometimes the new window
opens behind the source window and cannot be seen unless my window is shrunk
down, obviously this is not desirable does anyone know where I am going
wrong?
Melv

Melv

Replies

Replied 13 Jun 2001 03:23:57
13 Jun 2001 03:23:57 Waldo Smeets replied:
I think this happens in cases where the window already is opened, but at the background.

You could do several things:
- use unique names for each window you open, or
- put onLoad="javascript:window.focus();" to the body tag of the document that is being loaded in the new window.

You could also check out www.massimocorner.com he has a cool window behaviors suite.. I'm almost sure that it support focussing of opened windows.

Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------

Reply to this topic