Besides showing and hiding a <div>
, are there any better solutions or replacements to a javascript pop-up windows? Thanks!
views:
164answers:
4
+6
A:
First of all; nobody likes pop-ups.
The best solution is to modify the interface in such a way that the pop-up in question no longer is necessary. If this cannot be done, there are design issues afoot.
Williham Totland
2009-07-13 19:30:14
+10
A:
If by "pop-up" you mean opening a new window, you can avoid that in many cases. Look into modal-dialog boxes, like those used by the jQueryUI framework.
Jonathan Sampson
2009-07-13 19:33:50
This article http://www.useit.com/alertbox/application-design.html explains why they work well.
Lou Franco
2009-07-13 19:38:11
+1 for constructive answer
Gab Royer
2009-07-13 19:53:39
These modal dialogs work well for some situations, but sometimes you're better served by reworking your UI design to not need them.
Curtis Tasker
2009-07-13 20:13:23
+1
A:
It all depends on the context: why, what, where, where to, how much (content)
Do you want to:
- help the user with two lines of useful text before he submits a form ("No underscore in ** field, only letters and numbers" - SO is a nice example for that - great, a styled tooltip should do the job with huge bonus points for ARIA and/or unobstrusive JS).
- go fullscreen (I don't and nobody want it anymore: too much abuse in the past)
You can check the left navigation of Amazon.com with and without JS: unobstrusive and well-styled!
No new window, no div? Then you're left with ul, fieldset, object, animated gifs, etc OK no more kidding. Maybe tabs as in www.barelyfitz.com/projects/tabber/
Felipe Alsacreations
2009-07-13 20:25:07