urlicon

Name Modified Size
README.md4 years ago725
demo4 years ago19.43 KB
image4 years ago21.39 KB
jquery.urlicon.js4 years ago6.25 KB
urlicon.css4 years ago287
urlicon.js4 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">).