News for hackers. Stuff that matters.
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by beaumartinez on Sunday July 10, 2011 @01:28PM (#2748124)
Fly.

On the usability tip, why don't you allow making the dialog appear near the user's mouse? Having to move it from the link (or wherever the user's mouse is at the time) to the action buttons is unnecessary.

Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by nitrogen on Sunday July 10, 2011 @09:19PM (#2749110)
A counterpoint: I don't like things that appear near my mouse. My mouse is rarely positioned where I'm looking, and anything that appears under my mouse when I'm about to click on something interferes with (and occasionally "steals") normal clicks. The worst is when a dialog pops up with important information, and the OK or Cancel button right under the mouse, just as I was halfway through clicking on something else.