So, I have tried to combine the Sliding Doors and Suckerfish methods but I have crashed into the wall. I want the prettiness of the sliding doors with the hover functionality of the suckerfish. So i have a parent and a child template. The parent works great, but the child menu items show up on the page when the page loads. not when a parent is hovered over. Also, positioning is proving futile on the UL class for the child item. I could use a life jacket. Snapsis:NavMenu id="navParent" Level="0-1" runat="server" CacheTabs="false" Recurse="False" NavType="Template" TemplateFile="Snapsis.NavMenu.Parent.template.txt" ExcludeTabs="Admin,Host"
Snapsis:NavMenu id="navChild" Level="1-1" runat="server" CacheTabs="false" Recurse="False" NavType="template" TemplateFile="Snapsis.NavMenu.Child.template.txt" ExcludeTabs="Admin,Host" ChildTemplate [NavMenu-Container[ ]]
[${IEHoverJS}[ onmouseover="this.className+=' hover ';" onmouseout="this.className=this.className.replace(' hover ', '');" ]$] CSS (borrowed from the documentation)
#navChild ul{display:block;padding:0;margin:0;list-style:none;width:auto;background-color:silver;z-index:1000;}
#navChild li {line-height : 1.25em;width: 9em;list-style: none;}
#navChild li ul {position : absolute;left: -999em;width:13em;background-color:#6CC1F7;border:1px solid #809DF9;}
#navChild a {font-size:1.08em;display:block;text-decoration:none;text-align:left;font-weight:bold;width:8.5em;padding:2px 0 2px 4;color:#000;border:1px solid #444;background-color:#DCDCDC;}
#navChild li li a {width:12em;}
#navChild li a:hover {background-color: #fff;border:1px solid #809DF9;}
#navChild li a.SelectedTab {font-size:1.12em;background-color: #FFF;} |