urlicon

Name Modified Size
README.md3 years ago725
demo3 years ago19.43 KB
image3 years ago21.39 KB
jquery.urlicon.js3 years ago6.25 KB
urlicon.css3 years ago287
urlicon.js3 years ago6.21 KB

urlicon

urlicon beautifies web address inputs with informative glyphs and tastefully recomposed urls.

Usage

// native version
new Url(new Urlicon(element, options));
// jquery version
$('#url').urlicon();

Configuration

delay: Delay (in milliseconds) between icon changes. Default is 300.

path: Path of the glyphs. Default is "image/urlicon".

prefix: Prefix classname given to the input (<input>), glyph, and container. Default is "urlicon".

usefavicon: Whether a site favicon should be used when present. Default is false.

useprotocol: Whether a protocol should prepend urls. Default is false, but forcibly true on url inputs (<input type="url">).