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

构建高性能Web站点

构建高性能Web站点

郭欣 / 电子工业出版社 / 2009-8 / 59.00元

本书围绕如何构建高性能Web站点,从多个方面、多个角度进行了全面的阐述,涵盖了Web站点性能优化的几乎所有内容,包括数据的网络传输、服务器并发处理能力、动态网页缓存、动态网页静态化、应用层数据缓存、分布式缓存、Web服务器缓存、反向代理缓存、脚本解释速度、页面组件分离、浏览器本地缓存、浏览器并发请求、文件的分发、数据库I/O优化、数据库访问、数据库分布式设计、负载均衡、分布式文件系统、性能监控等。......一起来看看 《构建高性能Web站点》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具