1

我想为 mvc 4 应用程序创建一个级联菜单。到目前为止,我有这个:

<ul data-role="listview" data-inset="true" data-theme="b">
    <li> @Html.ActionLink("Home", "Index", "Home")</li>
    <li> @Html.ActionLink("Workstations", "Index", "ClientAddresses")</li>
    <li> @Html.ActionLink("Leads", "Index", "Leads")</li>
    <li>Targets
        <ul>
             <li> ...Target for product 1... </li>
             <li> ...Target for product 2... </li>
        </ul>
    </li>
    <li> @Html.ActionLink("Log out", "LogOut", "Login")</li>
</ul>

因此,当我将鼠标悬停在“目标”项上时,我希望它可以在旁边打开另一个列表。如何才能做到这一点?谢谢

4

1 回答 1

1

你试过Grouped collapsible with listviews http://view.jquerymobile.com/master/demos/widgets/accordions/

于 2013-04-30T13:30:04.003 回答