Is the scenario below possible with smartmenus? How can we achieve this?
Clicking on a parent item without a link should open the submenu (and close it on the second click). But if the parent item has a link, then clicking should open the link instead of submenu.