Skip to content
jQuery plugin that makes labels "float" over inputs
Branch: master
Clone or download
Charles Hudson
Charles Hudson Adding MIT license
Latest commit b373d3e May 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Adding MIT license May 18, 2019
README.md Initial commit May 11, 2019
floating-label.jquery.js Initial commit May 11, 2019
index.html Initial commit May 11, 2019

README.md

Floating Label

This is a jQuery module that automatically manages specified labels so that they may be placed "within" the input when there is no value, or above the input when there is a value or the input has focus. It is best to use this for labels that describe textual input types.

Usage

To use, include jQuery and the Floating Label javascript code, and instantiate similarly:

$('label[for="inputName"]').FloatingLabel();

Contributing

Feel free to fork this repo and submit a pull request. Thanks!


Created and maintained by Charles Hudson

You can’t perform that action at this time.