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

popup usage

Dan
First, I'm sorry if this question has been asked
too many times. I'm new to this news group.

The question has to do with the use of popup
windows in a web page. I have heard that popup
windows should be avoided; due to use of popup
blockers and browser that do not process javascript.

Is the use of popup windows bad design?
Will it severly reduce the usage of our web page?

Note, The popup windows are created using only
onClick events, not onLoad or onClose events.
Do popup blockers make any distinction between
the two?

Thanks for your thoughts,
Dan

Jul 23 '05 #1
3 1922
Dan wrote:
First, I'm sorry if this question has been asked
too many times. I'm new to this news group.
Then read the archives and the FAQ
The question has to do with the use of popup
windows in a web page. I have heard that popup
windows should be avoided; due to use of popup
blockers and browser that do not process javascript.
Correct. It also covers browsers that process javascript but do not have
a facility to create new windows.
Is the use of popup windows bad design?
Yes.
Will it severly reduce the usage of our web page?
Yes.
Note, The popup windows are created using only
onClick events, not onLoad or onClose events.
Do popup blockers make any distinction between
the two?


That depends on the popup blocker.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #2
Dan wrote:
First, I'm sorry if this question has been asked
too many times. I'm new to this news group.

The question has to do with the use of popup
windows in a web page. I have heard that popup
windows should be avoided;
That would be my position.
due to use of popup
blockers and browser that do not process javascript.
Not actually directly due to the use of pop-up blockers, more due to the
consequences of their use as it is extremely difficult to know when a
pop-up window attempt has been blocked, making any fall-back to
alternative provision difficult to orchestrate. As there are browsers
that just cannot open new windows the web site design should already
tolerate navigation within the current window as a fall-back, but not
knowing when to do that is the problem that pop-up blocking introduces.

It is also worth considering how a pop-up is going to be used. If the
point is to have two windows visible to the user at once then that
design concept is somewhat undermined by tab based browsing, where a new
window request might just result in a new tab and not produce the
expected/designed GUI.
Is the use of popup windows bad design?
The revealing of containers for particular purposes does not seem to go
against the spirit of computer GUIs. There are issues in an Internet
context relating to such things as javascript dependencies,
accessibility (how will screen readers handle it?), and so on.

But pop-up window-like behaviour does not necessarily require the
opening of a new browser window. And avoiding the new browser window
avoids the need to worry about the influence of pop-up blockers on the
process.

In response to recent questions on this subject I have been referring
people to a couple of scripts of mine that where written to demonstrate
that not all pop-up like behaviour necessitates a new browser window (or
a javascript dependency):-

<URL: http://www.litotes.demon.co.uk/examp...iWindow_1.html
<URL: http://www.litotes.demon.co.uk/examp...age_popup.html >

Often it seems to me that new browser windows are opened as the easy
alternative to DHTML scripts doing the same task. Superficially that is
often the case, but once you attempt to detect the actions of pop-up
blockers, and do something meaningful in response, the DHTML scripts are
suddenly much less complex, and more reliable, than any window opening
script.
Will it severly reduce the usage of our web page?
A dependency on pop-ups will reduce the usage of your web page (assuming
it is of general interest and available on the Internet). Whether that
dependency will severely reduce usage would be difficult to say (short
of designing the site without the pop-ups, measuring the usage, once it
had settled down, and then introducing a pop-up dependency and measuring
the resulting reduction in use (probably not a worthwhile process to go
through)).

I did recently read the results of a survey that suggested that pop-up
blocker use had increased by 1400% (1% to 14%) over the last year, so
the impact of blocking this year might be less than the impact next
year. (Generally I don't trust surveys unless they are explicit about
the data gathering techniques used and the statistical analysis applied;
there are already to many bogus statistics being waved around concerning
the Internet. So a report of the results of a survey is not really more
than hearsay.)
Note, The popup windows are created using only
onClick events, not onLoad or onClose events.
Do popup blockers make any distinction between
the two?


That will help diminish the problem. Browsers that provide a built-in
pop-up blocking mechanism (at least the more recent ones) are quite good
at recognising the distinction between "requested" pop-ups and
non-requested pop-ups, if configured to do so. External pop-up blockers
are not so good at it. Some proxy pop-up blockers do use more elaborate
blocking scripts that do things like measuring the interval between user
clicks and requests to open windows, allowing the window opening if the
interval does not exceed a pre-defined limit. It is also not uncommon
for external pop-up blockers to be provided with an override key so the
user can hold the key down when they want a pop-up to be allowed
(obviously they need to be told up-front that a particular action will
result in an attempt to open a window, else they may not know to hold
the key down to allow it to happen).

Overall, I would say that if you are in a position to avoid a dependency
on opening pop-ups (currently only at the design stage), and client-side
scripting, then doing so will maximise your potential to keep any
visitors you get coming back. Many of the common uses to which pop-up
window are put can be successfully implemented without new browser
windows, and seeking alternatives to opening new windows (and designing
processes so that they do not require them) will avoid the influence of
all pop-up blocking mechanisms.

Richard.
Jul 23 '05 #3
Dan wrote:
First, I'm sorry if this question has been asked
too many times. I'm new to this news group.
It has - but I can't remember if it is in the FAQ.
The question has to do with the use of popup
windows in a web page. I have heard that popup
windows should be avoided; due to use of popup
blockers and browser that do not process javascript.
Correct.
Is the use of popup windows bad design?
Yes - it demands a specific form of processing from your users whereas
good design would operate in single mode (ie. require nothing more than
"it runs" from your users). Fact is, you'll usually get away with it but
it is still not great design.

Personally though, I find it useful.
Will it severly reduce the usage of our web page?
Probably not.
Note, The popup windows are created using only
onClick events, not onLoad or onClose events.
Do popup blockers make any distinction between
the two?

No, they don't.
Jul 23 '05 #4

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

Similar topics

38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
2
by: Moist | last post by:
Hi, first I must admit this is one of the most active group I have ever seen. For my question: is it possible to create a small popup window that remain in focus until it is closed. That is,...
24
by: jonathon | last post by:
Hi all, I have a web app with a popup window for entering data. I don't want to access the web every time this window is opened, as most of the app is AJAX. But I can't figure out how to open...
19
by: Davey | last post by:
I have a popup window that opens using the following function. Unfortunately when this function (or any other popup generating function) is called from *within* a popup, it opens it within the...
13
by: ldan | last post by:
Hi everybody, I would not consider myself an expert in javascript - but so far whatever I know, helped me reaching my goals. Recently I started to experience a lot of javascript errors related...
6
by: =?Utf-8?B?RWRC?= | last post by:
I am porting an app from VB6 to VS2005 (VB/Win Forms). It uses a context sensitive pop up menu. You know, you right click on something and an appropriately placed menu comes up. I can not find...
1
by: Orit | last post by:
I have a question regarding usage of AJAX Control Toolkit's Popup Control Extender . I am using the Popup Control Extender to display a popup dialog ( panel ) from my asp.net page on click of a...
2
by: cmarl | last post by:
Can a new browser window be made to popup when a ReportViewer, table, textbox is clicked ? The textbox, properties, navigation, jump to url property doesnt seem to like javascript:window.open...
3
by: Bruce | last post by:
I have an application where a main window opens a popup window. Within the popup, I want to be able to post a form back to the popup all the while maintaining the opener property. Of course,...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.