Live data from Hacker News

Uniform - Sexy forms with jQuery

pixelmatrixdesign.com

11–20 of 35 posts

Re: Uniform - Sexy forms with jQuery

#12
post #2

Really beautiful. I was a bit offended by the "155 KB download", but when downloaded and extracted it is just around 50 KBytes.

Is that minified/compressed?

It's not, but a lot of the size comes from a PNG sprite which is 30K. With yuicompressor (http://developer.yahoo.com/yui/compressor/) and pngcrush (http://pmt.sourceforge.net/pngcrush/) I got everything down to 37K.

Re: Uniform - Sexy forms with jQuery

#16
post #10

Uses own "theme creator" instead of plugging into jquery's unparalleled Theme Roller :-/

Theme roller is a cool idea, but the CSS it outputs has so much cruft... It's like they forgot about the cascading part.

It could learn a thing or two from YUI CSS here.

Also, I find the themeroller a bit clumsy, spitting out whole zip files - rather than just little my-theme.css files.

Re: Uniform - Sexy forms with jQuery

#17
post #4

Why not include a matching style for textboxes? Those styled inputs are going to look pretty jarring next to native textboxes and creating matching styles for them is enough work for me that I wouldn't do it. Overall they look nice, but with the incomplete control set and the gotchas listed (doesn't automatically handle dynamic changes and no IE6 support) it has a long way to go.

Ojay.Forms handles dynamic changes and supports IE6. You have to write your own styling, though, but generally one would have to do that with Uniform anyway.

http://ojay.othermedia.org/articles/forms.html

Re: Uniform - Sexy forms with jQuery

#18
Have you ever wished you could style checkboxes, drop down menus, radio buttons, and file upload inputs? Ever wished you could control the look and feel of your form elements between all browsers?

No, because that is generally bad usability design. It's not quite as bad as the ultimate atrocity: making your own scrollbars, but changing the feel of widgets is bad, because it only makes it harder for people to manipulate them. It's ok to change the look if you are careful to preserve the feel and functionality.

A quick test of that example shows it's lacking visual indication of focus. I can still move between them and manipulate them with tab and space and arrow keys, but I don't know where I am. If that's just part of the theme, fine, but if the framework lacks support for it, not so fine.

On the other hand, I hope this library (or similar) becomes very popular among those that absolutely have to change widgets, because then you can address the usability issues in the library. If everyone rolls their own, you will end up with quite a few usability horrors.

Re: Uniform - Sexy forms with jQuery

#19

Can we get some nice date and time pickers please! :P

There should be millions of those around if you need one, the problem is that such a widget isn't part of the html standard, there's no baseline functionality that you can extend and make pretty, you have to do it all yourself.
Post reply on HN