基于jQuery的图像拼接墙布局 [英] Jquery based image mosaic wall layouts
问题描述
我正在寻找重新创建此站点上存在的布局的方法:
I'm looking to recreate the layout that's present at this site:
http://prettytasty.tumblr.com/archive/
完成此操作的唯一方法是使用绝对定位,但是似乎他们在使用JavaScript在页面上动态定位每个图像条目.有没有一个jQuery插件或例子可以做到这一点或类似的东西?
The only way to accomplish this is using absolute positioning, however it appears that they're using javascript to dynamically position each image entry on the page. Is there a jquery plugin or example that accomplishes this or something similar?
我意识到javascript是布局所要依赖的最后一件事,但是我很好奇,想看看它是如何实现的.
I realize javascript is the last thing you want to have to depend on for layout, but I'm just curious and would like to see how it is accomplished.
推荐答案
您在该特定页面上看到的效果实际上是使用prototype.js创建的,但是对于jQuery,您可能正在寻找
The effect you see on that particular page is actually created with prototype.js, but for jQuery you're probably looking for the jQuery Masonry Plugin
这篇关于基于jQuery的图像拼接墙布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!