Live data from Hacker News

JQuery Super Labels Plugin

github.com

11–18 of 18 posts

Re: JQuery Super Labels Plugin

#12
post #6

FWIW, Safari and Chrome both keep placeholder text there like this plug-in does (without the animation). It'd be nice to get FireFox on board.

I had looked into doing this with pure CSS, but I hit a roadblock. I can't remember what it was, but it may have been the Firefox thing mentioned. Would be cool to add a css file that does the same to the project when the support is there though.

Re: JQuery Super Labels Plugin

#13
post #5

Seems OTT to me, I generally use normal boring labels, then modernizer to detect if the browser supports placeholders, if so hide the labels and add placeholders to the attributes

Oh, also... once you're in the field, the placeholder disappears and you have no idea what you were meant to type (which is why the plugin slides to the side by default).

Re: JQuery Super Labels Plugin

#16
post #5

Seems OTT to me, I generally use normal boring labels, then modernizer to detect if the browser supports placeholders, if so hide the labels and add placeholders to the attributes

Oh, also... once you're in the field, the placeholder disappears and you have no idea what you were meant to type (which is why the plugin slides to the side by default).

No. Placeholders stay visible until user starts typing. That is, empty focused field still has visible placeholder.

Re: JQuery Super Labels Plugin

#17
post #16

Earlier quoted context omitted.

Oh, also... once you're in the field, the placeholder disappears and you have no idea what you were meant to type (which is why the plugin slides to the side by default).

No. Placeholders stay visible until user starts typing. That is, empty focused field still has visible placeholder.

Only in Chrome. Not in Firefox, at least.

Re: JQuery Super Labels Plugin

#18
post #17
post #16

Earlier quoted context omitted.

No. Placeholders stay visible until user starts typing. That is, empty focused field still has visible placeholder.

Only in Chrome. Not in Firefox, at least.

True! It wasn't like this when I wrote the plugin though, plus I needed the effect to work cross-browser.
Post reply on HN