Live data from Hacker News

Alertify.js

github.com

21–30 of 79 posts

Re: Alertify.js

#23
post #18

HALP! Does anyone know of a jQuery plugin that has notifications like they do on OSX. For example, when you raise the volume or mute you see that rounded transparent square? Is there something like that for the web?

It's a DIV with a border-radius and a semi-transparent black background. It's just CSS, why use a jQuery plugin? Why not just quickly build it yourself?

Re: Alertify.js

#24
post #16

This looks beautiful. But I'm curious, do users no longer expect/like their platform's native dialogs for these things?

The native alert is very hard to customize and extremely bare boned.

Not to mention that the second I see a native alert my heart rate increases 10 fold.

Re: Alertify.js

#25
post #7

Pretty slick, animation-wise. If I could make one design-layman suggestion...the thick, black border belies the unobtrusiveness of the plugin. Maybe a lighter, thinner border would be a better fit for the use-case of this plugin?

looks like it's using class="alertify alertify-show alertify-prompt"

you should be able to override any of these to your liking

Re: Alertify.js

#26
post #18

HALP! Does anyone know of a jQuery plugin that has notifications like they do on OSX. For example, when you raise the volume or mute you see that rounded transparent square? Is there something like that for the web?

It's a DIV with a border-radius and a semi-transparent black background. It's just CSS, why use a jQuery plugin? Why not just quickly build it yourself?

Because it is an alert. I need it to fade in and then disappear. I mean I guess I could build it but was wondering if there is a complete library out there to handle the alerting and all the options a modern notification library has.

Re: Alertify.js

#27
post #9

Stacking up of multiple alerts being triggered is not handled properly. I think it should show latest posted alert on the top. Overall, good job!

Unless it's been updated since you posted, it is. The newest alerts appear at the top of the stack for me.

Re: Alertify.js

#28
post #7

Pretty slick, animation-wise. If I could make one design-layman suggestion...the thick, black border belies the unobtrusiveness of the plugin. Maybe a lighter, thinner border would be a better fit for the use-case of this plugin?

looks like it's using class="alertify alertify-show alertify-prompt" you should be able to override any of these to your liking

Yeah, I meant for demo, first-impression purposes. I know it's just a easily-changed visual tic once a developer decides to implement it...but might as well entice as many people as people as possible.

Re: Alertify.js

#29
Very cool library! The one thing all of these type of things lack (e.g. this, dojo.dialog()) is that they are non-blocking to the execution thread, unlike alert()/confirm()/prompt(). I know it's not their fault, javascript doesn't allow this natively, but i feel like that would be immensely useful for general user input, form validation and the like. Yes, I am aware that it can be done currently through workarounds, I'm just saying that allowing certain native objects to be blocking upon further user input, would be immensely useful and save code readability

EDIT: Care to explain why I'm getting downvoted? Said nothing offensive, and I'm clearly on-topic.

Re: Alertify.js

#30
post #26

Earlier quoted context omitted.

It's a DIV with a border-radius and a semi-transparent black background. It's just CSS, why use a jQuery plugin? Why not just quickly build it yourself?

Because it is an alert. I need it to fade in and then disappear. I mean I guess I could build it but was wondering if there is a complete library out there to handle the alerting and all the options a modern notification library has.

I found this project that would fit the bill: http://fabien-d.github.com/alertify.js/

See "Customizable Log Messages".

Post reply on HN