Giter VIP home page Giter VIP logo

waterfall's Introduction

Waterfall是jQuery流体布局插件

  • 当前版本: 1.0.6
  • 更新时间: 2012.2.11

使用方法

  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

waterfall's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.