Hello,
Is it possible to use the horizontal menu with split button instead of regular button to be touch friendly? So i can have a link for each item and a button to open the submenu. Maybe the tree view is better for this task?
I find a way to do it for the first level of the menu with the markup below but i didn't find how to do it with the sub menus
Is it possible to use the horizontal menu with split button instead of regular button to be touch friendly? So i can have a link for each item and a button to open the submenu. Maybe the tree view is better for this task?
I find a way to do it for the first level of the menu with the markup below but i didn't find how to do it with the sub menus
<style scoped> #menu > .k-item.empty-split { width: 16px; } #menu > .k-item.empty-split > .k-link { padding-left: 0; padding-right: 0; }</style> <ul id="menu"> <li>Blog </li> <li class="empty-split"> <span class="k-link"> <span class="k-icon k-i-arrow-s"></span> </span> <ul> <li> <div id="template" style="padding: 10px;"> <h2>Around the Globe</h2> <ol> <li>United States</li> <li>Europe</li> <li>Canada</li> <li>Australia</li> </ol> <img src="../../content/web/menu/map.png" alt="Stores Around the Globe" /> <button class="k-button">See full list</button> </div> </li> </ul> </li> </ul>
<script type="text/javascript">
$(function () {
$("#menu").kendoMenu({
openOnClick: true
});
});
</script> 