【发布时间】:2010-01-29 07:36:17
【问题描述】:
您好, I'm trying to think of a way to use an accordion widget (which I'm currently using, h3 is the trigger) that when an h3 is selected another div appears, then when a different h3 is selected, a new div appears and另一个消失等等。
so I have a three column layout, left column is my accordion widget, when the h3 is selected a middle div will appear (animation doesn't matter) and a floating right column within that div to give the appearance of a three列布局,右列将用于显示/隐藏该中间 div 中的内容。还和我在一起????
Keep in mind that the first h3 is open by default, so there would be a related middle column open as well and floating right column as well within but will disappear when another h3 is selected and so on.
我的 jquery/javascript 充其量是最小的,我想不出任何方向。
我是否使用切换?显示隐藏?任何想法将不胜感激!
所以我想我想要做的是在用户单击链接而不是显示项目清单/内容。
【问题讨论】:
-
你真的需要发布一些代码,它会让人们更容易帮助你。
-
甚至可以粘贴图片,MSPaint 风格:)
标签: jquery toggle html show-hide slidetoggle