Paul Gorodyansky wrote:
> So if a user clicks on that button, I need:
> a) to have pop-up always on top
> b) user should be able to type in form
> Here is working example:
> http://www.geocities.com/paulgor1/pop.htm
I think Opera uses MDI (multiple document interface, see here
<http://encyclopedia.laborlawtalk.com/MDI> for an explanation) for its
tabbed windows so in that setting I don't think it is possible to have a
popup window on top of the opening window and set focus to the opening
window.
But Opera allows a setting under
Preferences -> General -> Choose how you prefer to handle pages and
pop-ups
to decide whether to open a popup in a tab or in a truely separate
window so you would need to try whether in that case the dependent
feature Mozilla supports works for Opera too.
Of course that does not help much with any users of your sites as you
don't know their preferences and can't hardly expect them to change
settings but with script and window.open I see no way. As an alternative
you could of course use the DOM to create your keyboard in the same
document as the textarea someone needs to type in, in a dynamically
created div for instance or even a dynamically created iframe.
--
Martin Honnen
http://JavaScript.FAQTs.com/