News for hackers. Stuff that matters.
Re:JQuery Super Labels Plugin by jonknee on Monday May 14, 2012 @10:22AM (#3971166)
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.
Re:JQuery Super Labels Plugin by Keithamus on Monday May 14, 2012 @10:37AM (#3971228)
Yes, in -webkit- browsers you can achieve the same effect with this CSS:

        &::-webkit-input-placeholder {
            -webkit-transition: text-indent 200ms ease-in-out;
            visibility: visible !important;
        }

        &:focus::-webkit-input-placeholder {
            text-indent: 115px; /* Change to width of input */
        }
If only you could do the same for Firefox...
Re:JQuery Super Labels Plugin by btucker on Monday May 14, 2012 @11:52AM (#3971545)
Re:JQuery Super Labels Plugin by remybach on Monday May 14, 2012 @12:50PM (#3971857)
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.