Problem on forcing focus with Pop-up window

N

Newbie

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)
 
D

DrewM

Newbie said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top