【发布时间】:2012-05-28 11:02:37
【问题描述】:
我问了一个类似的问题,得到了这个答案,但是当我试图将其移至可用标记时,我很幸运。
基本上我有 4 个 div x 3 个 div 的行,当它们被单击时,我需要以下 div 来扩展网格中的所有其他 div 并在需要时切换。我试过使用动画和切换无济于事。此处使用表格的一个示例http://jsfiddle.net/gGc5K/。
如果可能,我需要使用 nexr 方法以相同的方式(通过切换关闭)工作以下标记。
谢谢
<!--div in the grid--><div class="gridBox" id="one"></div>
<div class="pop" id="bigOne">Content here and a toggle link</div><!--This div needs to expand over the full grid-->
<!--div in the grid--><div class="gridBox" id="two"></div>
<div class="pop" id="bigTwo">Content here and a toggle link</div><!--This div needs to expand over the full grid-->
【问题讨论】:
标签: javascript jquery jquery-animate toggle