作者:dasgsdfsddsadas_501 | 来源:互联网 | 2023-05-19 01:38
howcanidoanaccordionmenuwithonlyafewoptionsexpandable?Iwanttohaveamenu我怎么能只用几个可扩展
how can i do an accordion menu with only a few options expandable? I want to have a menu
我怎么能只用几个可扩展的选项来做手风琴菜单?我想要一份菜单
Home,Support,Sales,Other
Home has nothing in it, its just a link. so when you click on home, no expansion happens, it just does whatever i tell the links to do.
家里什么都没有,它只是一个链接。所以当你点击home时,没有发生扩展,它只会做我告诉链接做的事情。
Support/Sales/Other have a few options in it. the options themselves will be links.
支持/销售/其他有几个选项。选项本身将是链接。
$(function() {
$( ".leftMenu" ).accordion({
heightStyle: "content",
active: false,
collapsible: true,
});
});
Home
Support
- New Tickets
- Existing Tickets
- Contact
Other
stuff
stuff
if i dont add a div under each H3, it gets all confused.