微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Pass Meter jQuery plugin

程序名称:Pass Meter jQuery plugin

授权协议: 未知

操作系统: 未知

开发语言:

Pass Meter jQuery plugin 介绍

You can use this plugin to show a background image into a HTML password input
element to indicate the strength of the password.

This plugin has been probed in the last versions of Firefox, Opera, Internet
Explorer and Safari, with jQuery 1.2 version.

Use is quite simple, as you can view in the example that include the plugin.
Bassically you can attach and detach password meters into HTML password input:

$('input#mypassword').attachPassMeter();

To detach a password meter you can use the other public method:

$('input#mypassword').detachPassMeter();

You can especify some options to the plugin when call to the first method. The
default options are this:

var options = { useSkin: 'default', skinsPath: './skins/', bgRepeat: 'no-repeat', bgPosition: 'center right' }; $('input#mypassword').attachPassMeter(options);

The most important options are the “skinsPath”, used by plugin to find the
appropiate skin to use their images to show the password meters.

You can specify another skin, wich corresponde with a subfolder of skins
directory, and can contain different images to show the password meter level.

This plugin is inspired by Password strength meter jQuery
plugin
by Firas Kassem.
In fact, the main methods of the plugin is taken from the plugin of Firas.
Thanks!

Thanks so much too Mike Alsup for their article jQuery plugin
pattern
.

Pass Meter jQuery plugin 官网

http://plugins.jquery.com/project/passmeter

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐