Problem on forcing focus with Pop-up window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Newbie

    Problem on forcing focus with Pop-up window

    Hello everyone~
    I got some problem on my pop-up window

    -----------------------------------------
    my pop-up window's code:

    <html>
    <body onblur=self.foc us();>
    <input length=10>
    </body>
    </html>

    ----------------------------------------

    when I force focus on this page, I can't input anything in the text
    input field.
    (I want to force focus on this pop-up window to achieve the
    requirements of my homework...the requirement said that if i don't
    close this pop-up window, I can't focus on other ie)
  • DrewM

    #2
    Re: Problem on forcing focus with Pop-up window

    Newbie wrote:
    [color=blue]
    > when I force focus on this page, I can't input anything in the text
    > input field.
    > (I want to force focus on this pop-up window to achieve the
    > requirements of my homework...the requirement said that if i don't
    > close this pop-up window, I can't focus on other ie)[/color]

    If it's only Internet Explorer on Windows that your assignment is
    concerned with, there are proprietary methods you can deploy.

    Hint: this type of window behavior - when a window must be dismissed or
    it holds focus - is known as _modal_.

    Of course, anything proprietary should be avoided for anything outside
    of 100% known environments and academic assignments :)

    Drew

    Comment

    Working...