473,320 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1743
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Paul Robson | last post by:
I have a wierd thing with a little editor app I'm writing. I'm using wxStyledTextCtrl ; the wrapper for Scintilla. When I create the frame in wxPython, I use self.Editor.SetFocus() to put the...
0
by: john | last post by:
Hi,All Gurus: It is kind of complicated, please bear with me and let me know if you have any questions. Thanks a lot in advance. John I have a csharp method, using emit to dynamically generate...
4
by: Sachin Jagtap | last post by:
Hi, I am getting exception while poping item from queue, I am writing messages coming from client in a queue in one thread and then in other thread i am reading from queue and writing in file....
2
by: Peter Wright | last post by:
Hi all. Hopefully this should demonstrate the problem I'm having: http://flooble.net/~pete/focus-problem-demo/ (I'm testing it in Mozilla only, but I'm not sure if it's actually a...
1
by: Sagaert Johan | last post by:
Hi for a textbox, the invaldating is done whe the focus changes, but how can i foce the invalidating event when the user presses return ? (without setting the focus to another control ) ...
1
by: clickon | last post by:
For testing purposes i have got a 2 step WizardControl. Eqach step contains a text box, TextBox1 and TextBox2 respectively. If i put the following code in the respective activate event handlers for...
9
by: newcomsas | last post by:
Hello. I'm working on a problem related with CSS and javascript: I have got a link on a page and a stylesheet file that makes the background color change when users click on it. Is there...
7
by: gjoneshtfc | last post by:
Hello I want to search my database for a vehicle registration number but before i can search using the Find Record button i created i have to click in the registration field so that it is that...
0
by: daveg | last post by:
Hi In VB.Net, If you click on a combobox and make a selection, the combobox stays selected, and you can still change the value with you mouse scroll wheel. Does anyone know how to make a...
3
by: jan.loucka | last post by:
Hi, I looked around for this specific problem but could not find any answer - there's few things in VB but still nothing exactly like this so I'd appreciate any help. We're writing C# WinForm...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.