2

Hello cool so I think I have a good question for a bit of a debate. I am currently looking for a good method for displaying something important - terms and conditions for a product - so when a client comes to a page in order for them to access to any functionality they need to agree with the terms and conditions. now I know there are some disadvantages with pop-ups like:

  1. If scripting is disabled, or if the browser does not support JavaScript, the pop-up will not work

  2. Search engines cannot follow links to pop-up windows (scripted elements are always ignored)

  3. Pop-ups present accessibility problems

  4. Site management tools (e.g. DreamWeaver) cannot update links to pop-ups if you move the destination page to another section of your site

  5. Many people have pop-up killers running that close the window the moment it’s opened In Mozilla, there is an option to stop pop-ups opening in the first place

Not the thing I am worried about is that lightbox might not be compatible withsome of the older browsers. here in africa people are not super up-to date I have seen people using ie-4 (shivers down the spine). but we are only really concerned from ie-7 up. has anyone used lightbox before? or have any suggestions for something of this nature? I am use there must be a lot of use case for a feature like this.

What do you think?

Peter O.
  • 32,158
  • 14
  • 82
  • 96
legendary_rob
  • 12,792
  • 11
  • 56
  • 102
  • I'm sorry, this is not a place for a debate. Lightboxes are mainstream and used in millions of sites. Google "jquery lightbox" if you want to see sample code. – Alec Smart Mar 06 '12 at 09:39
  • there are very few sites that have a good solid comparison between the two, i have found stackoverflow a place that holds a solution or a way to find a solution for everything. there have been several discussions that i have read up on that have helped me alot. as a newbie i hope to help others if they have similar problems. sorry if i offended you and your perceptions of what this site is for.. http://stackoverflow.com/about – legendary_rob Mar 06 '12 at 10:57

2 Answers2

1


as a webdeveloper myself i suggest you to use lightbox over popup anytime.
Your concern are right but i would rather focus on a couple:

  1. rarely javascript is disabled nowaday, if it is often it's becouse of company firewall and they wouldn't let the employers access your site in first place.
    Yes, some people is still using old browser but it's diminishing overtime, if you are really concerned about it you can, with some more work, create both a popup and a lightbox and drive it trough the meta user agent check.
  2. popup are incredibly annoying for the people becouse:
    a) you have to click or to "tab-dance" on a different window that the one currently active.
    b) as you stated most of the browser now block popup as a default feature, so there are high chance that people won't even go through the step of allowing the popup of www.mycoolsite.org to work.
    c)it can kill any google analytics tracement (if you want any) while lightboxes it's a normal html element in the page and thus traceable via javascript event bind.
  3. lightbox is amazingly easy to use and customize, offering you the chance to develop your idea without compromise.
kawashita86
  • 1,555
  • 3
  • 18
  • 25
1

In your situation and technical requirements (IE4, no-javascript), you shouldn't use either. Put a page in front of product access where the user needs to agree to terms. That is the most pragmatic approach, business value before eye candy.

In fact, I would even go as far as to say that for required terms agreements, both lightbox and popup are anti-patterns, they just needlessly complicate matters for both developers and end users.

BGerrissen
  • 21,250
  • 3
  • 39
  • 40
  • what would you suggest using from ie-7 upwards? – legendary_rob Mar 06 '12 at 10:07
  • The same actually, there's really no added value for a popup/lightbox to agree to terms for a product, see 2nd paragraph. If your deadset on using a popup/lightbox, @Kawashita86's awnser is great. – BGerrissen Mar 06 '12 at 11:10
  • cool thanks. yeah i am forced a bit the site has a lot of JavaScript. just for interest sakes what would you have used? – legendary_rob Mar 06 '12 at 12:08