BindO

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 19:42:40

软件介绍

If you're looking for a quick and easy way to bind your Javascript objects to jQuery events, then BindO is just for you. BindO is a jQuery plugin that makes it possible for you to capture jQuery events with an object.

For example:

// Form Mailer class
FormMailer = function() {
    // do something here
}
FormMailer.prototype = new Object;
FormMailer.prototype.submit = function(event) {
    alert('About to submit form');
    this.process(); // call the process function
    $(event.target).fadeOut(); // fade
out #element
}
FormMailer.prototype.process = function() {
    // process data here
}

// create a new instance of FormMailer
myform  = new FormMailer();

// now bind the click event to myform.submit
$('#element').bind('click',[myform, 'submit']);

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

CSS精粹

CSS精粹

Rachel Andrew / 曹明伦 / 人民邮电出版社 / 2007-10 / 39.00元

本书采用问答的形式,为CSS使用过程中一些有价值的经典问题提供了精彩的实践解决方案。本书内容包括文本样式、CSS图像、导航、表格数据、注册表和用户界面、浏览器和设置支持、CSS定位和布局以及未来相关技术。 本书的目标读者是每一个需要使作CSS的Web设计人员和开发人员。本书通过经典的问题和精彩的解答将理论融于实践,使每一个带着问题阅读本书的读者都能找到自己满意的答案。一起来看看 《CSS精粹》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码