图像延迟加载插件 JAIL

码农软件 · 软件分类 · jQuery图像处理 · 2019-12-26 07:59:39

软件介绍

JAIL 是一个可以让你的页面加载更快的图像延迟加载 jQuery 插件。当用户要打开图片的时候图片就开始进行下载。

示例代码:

requirejs.config({
    baseUrl: 'lib',
    paths: {
        app: 'src'
    },
    shim: {        'app/jail': ['jquery']
    }
});require(["jquery", "app/jail"], function() {
    $(function(){
        $('img.lazy').jail();
    });
});

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

A Philosophy of Software Design

A Philosophy of Software Design

John Ousterhout / Yaknyam Press / 2018-4-6 / GBP 14.21

This book addresses the topic of software design: how to decompose complex software systems into modules (such as classes and methods) that can be implemented relatively independently. The book first ......一起来看看 《A Philosophy of Software Design》 这本书的介绍吧!

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

HTML 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换