推荐关注
› Meteor
› JSLint - a JavaScript code quality tool
› jsFiddle
› D3.js
› WebStorm
推荐书目
› JavaScript 权威指南第 5 版
› Closure: The Definitive Guide
tinywenwen

jquery masonry 瀑布流怎么居中?

  •  1
     
  •   tinywenwen · Jan 16, 2015 · 5004 views
    This topic created in 4310 days ago, the information mentioned may be changed or developed.
    3 replies  •  2015-01-16 15:59:36 +08:00
    tinywenwen
    tinywenwen
    OP
    Jan 16, 2015
    1
    http://www.tuicool.com/articles/F3iURz
    http://ninghao.net/blog/494
    找到了
    ----------------------------------------------------------------------------------------------------------------------------------
    参数:
    itemSelector class选择器,默认'.item',这个表示每个块的选择器
    columnWidth 一列的宽度
    isAnimated 使用jquery的布局变化,默认true
    animationOptions animate属性渐变效果(Object { queue: false, duration: 500 })
    gutterWidth 列的间隙 Integer
    isFitWidth 自适应浏览器宽度Boolean
    isResizableL 是否可调整大小 Boolean
    isRTL 使用从右到左的布局 Boolean
    emric
    emric
    Jan 16, 2015❤️1
    2
    tinywenwen
    tinywenwen
    OP
    Jan 16, 2015
    3
    @emric 谢谢哦,这个Edit fiddle 很不错,(*^__^*)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2756 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 14:37 · PVG 22:37 · LAX 06:37 · JFK 09:37
    ♥ Do have faith in what you're doing.