Navigation to close when hovering another page in nav

Permalink Browser Info Environment
So right now I have few pages under "Palvelut" and hovering opens the menu just like I would like it to, but problem is that the menu is stuck there unless I move the cursor outside the whole menu area, I would like it to close when I hover over any other page, like "Etusivu", "Referenssit", etc. Also this behavior on the menu causes annoying thing to happen on the "Palvelut" page, once you hover the "Palvelut" there the menu is stuck open.

http://roihuinc.fi/ASIAKKAAT/hippocampus/...

Type: Discussion
Status: New
roihu
View Replies:
roihu replied on at Permalink Reply
roihu
Can someone at least point to the right direction where the navigation opening javascript is handled. I know that "$.boxNav.close()" closes the navigation, but I cant find anything other mentioning "boxNav" in the (blocks->autonav->templates->super_mint.php).
roihu replied on at Permalink Reply
roihu
Finally found it! "packages/theme_super_mint/themes/super_mint/js/jquery.boxnav.js"

Replaced the javascript on line 133 with this:

// Si le panneau ne contient pas d'enfant On laisse le lien actif
if (!nav.active.pane.children().size()) {
   $.boxNav.close();
}


So now the navigation closes when you hover on a page that has no children.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.