一个手风琴到多个视图
我可能正在尝试使用“方便的锤子”方法来做事,但希望有人也尝试过这一点。
基本上,我有一个页面有多个视图,我想使用 jQuery 手风琴功能来打开和关闭它们。
例如: 有一个名为“新闻稿”和其他名为“最近的博客文章”的视图 我想单击这些标题来打开和关闭视图内容。
我想我想从视图手风琴中退一步,这样所有的内容项都会扩展,而不是内部内容项可扩展。
希望这是有道理的!
如果有更温和、更简单的方法来做到这一点,我洗耳恭听!
I may be trying to do things using a "handy hammer" methodology, but hopefully somebody out there has tried this as well.
Basically, I have one page with multiple views, I would like to use the jQuery accordion feature to be able to toggle them on and off.
For example:
There is a view entitled "Press Releases" and other called "Recent Blog Posts"
I would like clicking on these headers to open and close the view contents.
I guess I want to have step back from the views-accordion so that instead of the interior content items being expandable, that all the content items would expand.
Hope this makes sense!
If there is a softer and easier way of doing this, I am all ears!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论