Forum Moderators: open
Browsers began as a Single Document Interface (SDI) and stayed that way for many years. More recently tabbed browsing has been introduced, and that is a kind of Multiple Document Interface (MDI). But that's just the browser - the web author is still creating many single documents.
The title you chose for this thread seems to indicate you are working with a form - do you need to pass form variables between several windows? Or perhaps I have completely missed your point?
I approach the design with div+iframe+JS. It seems working. But when "window"s overlap, the mouseevent control is very unstable. Don't want to use frame, coz it's not draggable.
Any other approach?
So, you are developing a page where you are using CSS, JavaScript and layers with iFrames, is that correct? As far as I can tell you are having trouble with some mouse events with this setup - but maybe also some form trouble?
Are you having trouble passing variable between the iFrames as tedster asked?
As for setting the focus, how about setting the focus to an element within the iFrame - that should set the focus to the frame also.
HTH