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

网络多人游戏架构与编程

网络多人游戏架构与编程

格雷泽 (Joshua Glazer)、马达夫 (Sanjay Madhav) / 王晓慧、张国鑫 / 人民邮电出版社 / 2017-10-1 / CNY 109.00

本书是一本深入探讨关于网络多人游戏编程的图书。 全书分为13章,从网络游戏的基本概念、互联网、伯克利套接字、对象序列化、对象复制、网络拓扑和游戏案例、延迟、抖动和可靠性、改进的延迟处理、可扩展性、安全性、真实世界的引擎、玩家服务、云托管专用服务器等方面深入介绍了网络多人游戏开发的知识,既全面又详尽地剖析了众多核心概念。 本书的多数示例基于C++编写,适合对C++有一定了解的读者阅读。本......一起来看看 《网络多人游戏架构与编程》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具