473,387 Members | 1,512 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,387 software developers and data experts.

Problems on Pop-up window

Hello, I want to ask something about popup window...

when a popup window is appear, how can I force users to focus on it?
P.S. I mean that not just focus once only(not onLoad(this.focus)..)

And..

If users do not close the popup window, they can't move to other IE
P.S. I want to make a popup window just like a javascript error/confirm message box

thank you for solving my problems m(_ _)m
Jul 23 '05 #1
3 1477
Newbie wrote:
Hello, I want to ask something about popup window...

when a popup window is appear, how can I force users to focus on it?
P.S. I mean that not just focus once only(not onLoad(this.focus)..)

And..

If users do not close the popup window, they can't move to other IE
P.S. I want to make a popup window just like a javascript error/confirm message box

thank you for solving my problems m(_ _)m


Thankfully - can't be done to prevent folk like you from abusing/taking
control of someone's system... If you want to have some thing like a
confirm/error message box, then use one...

If a user does not want to see something - you shouldn't be forcing it
upon them - its bad practice - it sounds like you want to hood wink your
users in to doing something they don't (and/or might never want) to do
in which case you can rank yourself, and your purpose in life right up
there with penis enlargers and get rich quick scams.

Jul 23 '05 #2
On 5 Apr 2004 20:30:15 -0700, su**********@yahoo.com.hk (Newbie)
wrote:
Hello, I want to ask something about popup window


onBlur="self.focus()

Jul 23 '05 #3
"Reply Via Newsgroup" wrote:
If users do not close the popup window, they can't move to other IE
P.S. I want to make a popup window just like a javascript error/confirm
message box Thankfully - can't be done to prevent folk like you from abusing/taking
control of someone's system...
Don't be ridiculous. Just because someone wants a popup window that blocks
doesn't mean they want to abuse someone's system. No more than throwing up
an alert() message is controlling someone's system.
If a user does not want to see something - you shouldn't be forcing it
upon them


Again, that's stupid. Should you never use alert or confirm?

To the original poster, depending on your environment and browser
requirements, you could check into IE's ability to show modal dialogs. This
will make a "popup window" which you can populate yourself, and will stay
focused until the user takes some action which closes it.

--
Matt Kruse
Javascript Toolbox: http://www.mattkruse.com/javascript/
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bjorn Jensen | last post by:
Hello! My resulting image har nearly same size of original (but not exact) and the nu.jpg can be shown, but it is modified so much, that it look totally different.... why? what to do? Greetings...
4
by: B. Fletcher | last post by:
Hi, I'm having some trouble with javascript code of mine: When the script runs, I vget an error in line 119: Number Expected. I'm not sure as to why this is happening. Any advice would be...
9
by: Mark | last post by:
Hi there On this page i get some errors when validating: http://www.keyone.nl/lab/beeldlijn/nl/collection.asp The problem is caused by the use of ASP in my pages. This is the code: <a...
7
by: jmac | last post by:
Greetings fellow programmers, I have created a C program that has a few bugs and would like to get some help with working them out. Here is a list of the problems that I am experiencing: -...
1
by: Sky Sigal | last post by:
(PS: Cross post from microsoft.pulic.dotnet.framework.aspnet.webcontrols) I've been looking lately for a way to keep the Properties panel for Controls 'clean'... My goal is to keep similar...
3
by: Alex Clark | last post by:
Hi All, I'm having some problems reading a network stream. I'm writing a lightweight POP client to handle a very specific task, but I keep unexpectedly reaching the end of the datastream when...
11
by: Johs | last post by:
In the below code I try to initialize the first 5 elements in an array to 27: typedef int list; void bob(list * p) { int i; for (i = 0; i < 5; i++)
1
by: stmfc | last post by:
i have implemented famous producer consumer example for multi-threading tutorials, to have some insight about multi-threading. there is producer thread which inserts into a buffer, if the buffer is...
1
by: Jianwei Sun | last post by:
Hello, all, I am reading some code from an interview book. It has a stack pop function implementation like this.. typedef struct Element { struct Element *next; void *data;
1
by: aitia | last post by:
this the code. i used ECLIPSE to run this.. it has some codes smells that i can't seem to figure out.. can any one help? import java.io.*; import java.util.*; public class Postfix { private...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.