如何创建基于 jquery 的子菜单选项卡?
我想创建基于 jquery 的导航菜单,其中我的主菜单位于左侧,单击时我的子菜单项应该显示在选项卡的主要内容区域中。我可以在 Ext-js 中实现它,但如何使用 jquery 实现它。
例如。如果您访问 http://www.trirand.com/blog/jqgrid/jqgrid.html 并单击左侧菜单...其他项目显示在右侧..但我不想使用树结构而不是我只会使用选项卡或按钮,并且子菜单项需要更改单击主菜单项...
任何人都可以指导我一个示例吗?
谢谢!!
编辑:通过 ext js https://i.sstatic.net/y2ItQ.png
I would like to create jquery based navigational menu in which my main menu is on the left hand side and on click my submenu items should ne display in the main content area in tabs . I am able to achieve it in Ext-js but how to do it using jquery.
for eg. if you visit http://www.trirand.com/blog/jqgrid/jqgrid.html and clicking on the left menu ...other items displayed on the right side ..but i don't wanna use the tree structure instead of that I will just gonna use tabs or buttons and submenu items need to change on clicking main menu items...
Can anyone direct me to an example ?
Thanks!!
edit: updated layout achieved through ext js https://i.sstatic.net/y2ItQ.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不太擅长 jQuery,所以我无法给你一个很好的答案。但我一直在使用这个网站,他们有很多菜单教程可以帮助你。
http://www .1stwebdesigner.com/resources/38-jquery-and-css-drop-down-multi-level-menu-solutions/
I'm not great with jQuery, so I can't really give you a good answer. But I've been using this site, and they have a bunch of tutorials for menus that could help you.
http://www.1stwebdesigner.com/resources/38-jquery-and-css-drop-down-multi-level-menu-solutions/