469,323 Members | 1,604 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

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 1371
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bjorn Jensen | last post: by
4 posts views Thread by B. Fletcher | last post: by
7 posts views Thread by jmac | last post: by
3 posts views Thread by Alex Clark | last post: by
11 posts views Thread by Johs | last post: by
1 post views Thread by stmfc | last post: by
1 post views Thread by Jianwei Sun | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.