popup usage

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dan

    #1

    popup usage

    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



  • Randy Webb

    #2
    Re: popup usage

    Dan wrote:
    [color=blue]
    > First, I'm sorry if this question has been asked
    > too many times. I'm new to this news group.[/color]

    Then read the archives and the FAQ
    [color=blue]
    > 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.[/color]

    Correct. It also covers browsers that process javascript but do not have
    a facility to create new windows.
    [color=blue]
    > Is the use of popup windows bad design?[/color]

    Yes.
    [color=blue]
    > Will it severly reduce the usage of our web page?[/color]

    Yes.
    [color=blue]
    > Note, The popup windows are created using only
    > onClick events, not onLoad or onClose events.
    > Do popup blockers make any distinction between
    > the two?[/color]

    That depends on the popup blocker.



    --
    Randy
    Chance Favors The Prepared Mind
    comp.lang.javas cript FAQ - http://jibbering.com/faq/

    Comment

    • Richard Cornford

      #3
      Re: popup usage

      Dan wrote:[color=blue]
      > 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;[/color]

      That would be my position.
      [color=blue]
      > due to use of popup
      > blockers and browser that do not process javascript.[/color]

      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.
      [color=blue]
      > Is the use of popup windows bad design?[/color]

      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[color=blue]
      >[/color]

      <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.
      [color=blue]
      > Will it severly reduce the usage of our web page?[/color]

      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.)
      [color=blue]
      > Note, The popup windows are created using only
      > onClick events, not onLoad or onClose events.
      > Do popup blockers make any distinction between
      > the two?[/color]

      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.


      Comment

      • Mark Preston

        #4
        Re: popup usage

        Dan wrote:[color=blue]
        > First, I'm sorry if this question has been asked
        > too many times. I'm new to this news group.
        >[/color]
        It has - but I can't remember if it is in the FAQ.[color=blue]
        >
        > 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.
        >[/color]
        Correct.[color=blue]
        >
        > Is the use of popup windows bad design?
        >[/color]
        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.[color=blue]
        >
        > Will it severly reduce the usage of our web page?
        >[/color]
        Probably not.[color=blue]
        >
        > Note, The popup windows are created using only
        > onClick events, not onLoad or onClose events.
        > Do popup blockers make any distinction between
        > the two?
        >[/color]
        No, they don't.

        Comment

        Working...