I have a menu with a list of li tags and then a hidden subnav menu which is made visible on hover. I can't really post up the code as the markup is generated by a SharePoint control and some javscript functions that I can't identify.
At the moment when I hover over an list item in the navigation bar then its sub-menu becomes visible. On leaving the item, the sub-menu disappears. Is there an easy way to make the appear/disappear to use a gradual fade in/out? I'm aware of the jQuery fadein/out functions but I can't seem to put anything together that works.
I tried using onhover on the <li> item but when I scrolled down to the sub-menu it all disappeared.
Is there a few lines of easy code I can add to use fades?
At the moment when I hover over an list item in the navigation bar then its sub-menu becomes visible. On leaving the item, the sub-menu disappears. Is there an easy way to make the appear/disappear to use a gradual fade in/out? I'm aware of the jQuery fadein/out functions but I can't seem to put anything together that works.
I tried using onhover on the <li> item but when I scrolled down to the sub-menu it all disappeared.
Is there a few lines of easy code I can add to use fades?