470,594 Members | 1,392 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

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.focus();>
<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)
Jul 23 '05 #1
1 1625
Newbie wrote:
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)


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
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Paul Robson | last post: by
4 posts views Thread by Sachin Jagtap | last post: by
1 post views Thread by Sagaert Johan | last post: by
1 post views Thread by clickon | last post: by
9 posts views Thread by newcomsas | last post: by
7 posts views Thread by gjoneshtfc | last post: by
3 posts views Thread by jan.loucka | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.