我已经使用了Gridster使用拖放多列网格的项目的库。遗憾的是,Gridster 仅支持 Internet Explorer 9+。 我需要找到一个类似的简单易用的库,它可以让我使用 IE8 执行相同的操作,如果可能的话,还可以兼容 IE7 和 IE6。
那么,有没有适用于旧 IE 的类似 Gridster 的库?我在这个项目中使用 jquery,因此基于 jquery 的库也很棒。
附注我找到了一个叫做 AnimaDrag ,但它不如 Gridster,而且有点糟糕。
最佳答案
还有变形:https://github.com/McPants/jquery.shapeshift
和网格:http://ksylvest.github.io/jquery-gridly/
这是 Gridster 的良好替代品。 (但请注意,Gridly 仅适用于方形图 block )
编辑: Packery也很有趣:http://packery.metafizzy.co/ 。然而,它需要商业项目的商业许可证,否则:
For non-commercial, personal, or open source projects and applications, you may use Packery under the terms of the GPL v3 License.
编辑 2:这个也可能有用:https://github.com/uberVU/grid
关于javascript - Gridster 的替代品?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12541423/