Pass Meter jQuery plugin

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-08 06:43:23

软件介绍

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.

本文地址:https://codercto.com/soft/d/22903.html

运营之光

运营之光

黄有璨 / 电子工业出版社 / 2016-9-1 / 59.00元

在互联网行业内,“运营”这个职能发展到一定阶段后,往往更需要有成熟的知识体系和工作方法来给予行业从业者们以指引。 《运营之光:我的互联网运营方法论与自白》尤其难得之处在于:它既对“什么是运营”这样的概念认知类问题进行了解读,又带有大量实际的工作技巧、工作思维和工作方法,还包含了很多对于运营的思考、宏观分析和建议,可谓内容完整而全面,同时书中加入了作者亲历的大量真实案例,让全书读起来深入浅出、......一起来看看 《运营之光》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具