问题描述
我在问有关同位素
这是一个很棒的jQuery插件.
It is a great plugin for jQuery.
我已经玩了一段时间了,但是我对javascript不够了解,无法结合两种同位素技术和居中的同位素.
I have been playing with it for a while now, but I don't know enough about javascript to combine two of the Isotope techniques, responsive Isotope and centered Isotope.
我已经成功使用了响应式mod,它运行得很好,除了现在我需要将整个东西放在div中.没有记录中心布局模式以及响应模式,因此我在使其工作时遇到了一些麻烦.基本上,居中布局模式的指示是:
I have sucessfully used the responsive mod and it worked pretty well, except now I need to center the whole thing within a div. The centered layout mode isn't documented as well as the responsive mode, so I am having some trouble getting it to work. Basically the inscructions for the centered layout mode are :
不幸的是,视图源中发生了各种各样的javascript事情,我没有足够的javascript经验来挑选它,也无法将其与我已经在使用的响应脚本相结合.
Unfortunately, there are all sorts of javascript things going on in the view source and I don't have enough experience with javascript to pick it out and also combine it with the responsive script I already have working.
任何帮助将不胜感激.
我认为在Firefox中效果更好.
Works better in Firefox I think.
推荐答案
这是David DeSandro本人提供的示例:
Here is an example provided by David DeSandro himself:
http://jsfiddle.net/desandro/P6JGY/6/
这篇关于jQuery同位素-居中且流畅/响应式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!