# Waterfall **Repository Path**: mirrors_abel533/Waterfall ## Basic Information - **Project Name**: Waterfall - **Description**: jQuery waterfall Plugin - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 

Waterfall是jQuery流体布局插件

使用方法

  1. 加载jQuery库 (需1.4+)
  2. 加载jQuery.waterfull.min.js , 必须在jQuery库之后;
  3. 调用接口: $node.waterfall({/* 此处为设置选项, 可留空 */})
    如: $('#container').waterfall({})

设置选项

{
    itemSelector:'.post-home',     //子元素id/class, 可留空
    columnCount:4,         		 // 列数,  纯数字, 可留空
    columnWidth:300,       		 // 列宽度, 纯数字, 可留空
    isResizable:false,      	     // 自适应浏览器宽度, 默认false
    isAnimated:false,              // 元素动画, 默认false
    Duration:500,                  // 动画时间
    Easing:'swing',                // 动画效果, 配合 jQuery Easing Plugin 使用
    endFn:function(){},            // 回调函数
}

如果你对这个插件感兴趣, 敬请关注:
作者的博客
插件发布页

感谢你的支持与反馈 :)
作者: MuFeng