473,785 Members | 2,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1952
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.javas cript 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
5089
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 out what i'm doing wrong, and so far it seems i'm doing it the right way. Here's my code...any suggestions would be appreciated. <script language="javascript"> <!-- window.open("256fx/index.htm", "", "height=400, width=600"); //-->
2
3773
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, even if you click on the main (caller) window just beside the popup, the popup would remain in focus. I've tried "alwaysRaised" with window.open() function but it doesn't work, must be for something else!!!
24
3266
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 a new window and build it with DOM rather than having to provide a src. Even a blank.html as src takes time to fetch. How can I create a popup and dynamically add DOM content without any html at all?
19
13338
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 current popup (i.e. it doesn't spawn another child popup). How can I get it to open up another popup window? function popobjed(url) { var newwindow;
13
6265
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 to opening up a popup window in an application I wrote. The error messages are quite diverse: "Object doesn't support this property or method" or "Unspecified error." or "The callee (server ) is not available and disappeared; all connections are...
6
1722
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 this control. There a context menu, but I can't get it to come up anywhere but the upper left. Any help?
1
2101
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 button. However , I need to display this popup only if some statement is TRUE , otherwise I will update database and redirect to another page . How can I do this ?
2
3379
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 etc. Thanks.
3
4293
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, once the popup window re-loads itself by posting a form to itself, all Javascript state information is lost and so opener is undefined. Is there any way I can communicate with the original opener of a popup window once the popup window has been...
0
9481
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10155
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10095
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9954
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8979
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5383
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.