推荐关注
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 · 4636 views
    This topic created in 4138 days ago, the information mentioned may be changed or developed.
    3 replies    2015-01-16 15:59:36 +08:00
    tinywenwen
        1
    tinywenwen  
    OP
       Jan 16, 2015
    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
        2
    emric  
       Jan 16, 2015   ❤️ 1
    tinywenwen
        3
    tinywenwen  
    OP
       Jan 16, 2015
    @emric 谢谢哦,这个Edit fiddle 很不错,(*^__^*)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2915 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 06:48 · PVG 14:48 · LAX 23:48 · JFK 02:48
    ♥ Do have faith in what you're doing.