One of the CSS Firendly Control Adapter menu control problemshttp://forums.asp.net/t/1460797.aspx/1?One+of+the+CSS+Firendly+Control+Adapter+menu+control+problemsThu, 15 Oct 2009 19:35:28 -040014607973356497http://forums.asp.net/p/1460797/3356497.aspx/1?One+of+the+CSS+Firendly+Control+Adapter+menu+control+problemsOne of the CSS Firendly Control Adapter menu control problems <p>Trust me , I did everything I could do. I tried adding z-index values , isolating the menu, rebuilding a new version,&nbsp; adding/removing CSS rules, and experimenting with the sitemap file and I'm still running into this issue:</p> <p>&nbsp;</p> <p><em>Everytime the mouse rolls over the drop down menu, the drop down menu disappears before anything can be selected. Here's the site I'm working on: <a href="http://websites.rapidts.com/nextlevelistest/">http://websites.rapidts.com/nextlevelistest/</a></em></p> <p>&nbsp;</p> <p>&nbsp;</p> <p>Here's&nbsp; the HTML:</p> <pre class="prettyprint">&lt;div id=&quot;navigation&quot;&gt; &lt;asp:Menu ID=&quot;Menu1&quot; runat=&quot;server&quot; DataSourceID=&quot;SiteMapDataSource1&quot; Orientation=&quot;Horizontal&quot; StaticDisplayLevels=&quot;2&quot;&gt; &lt;/asp:Menu&gt; &lt;asp:SiteMapDataSource ID=&quot;SiteMapDataSource1&quot; ShowStartingNode=&quot;False&quot; runat=&quot;server&quot; /&gt; &lt;/div&gt;</pre><BR></PRE> <P>Here's the web.sitemap file (it doesn't look like your standard sitemap file because the nodes had to be rearrange to accomdate the implementation of the CSS frinedly control adapters. Also , i have a feeling the problem resides in this file.): </P><pre class="prettyprint">&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" &gt; &lt;siteMapNode url="#" title="Home" description=""&gt; &lt;siteMapNode url="~/Default.aspx" title="Home" description="Homepage of NextLevel Information Solutions"&gt;&lt;/siteMapNode&gt; &lt;!--About Us Dropdown--&gt; &lt;siteMapNode url="" title="About Us" description=""&gt; &lt;siteMapNode url="~/AboutUs/ourhistory.aspx" title="Our History" description=""/&gt; &lt;siteMapNode url="~/AboutUs/awards.aspx" title="Awards" description=""/&gt; &lt;siteMapNode url="~/AboutUs/ourstaff.aspx" title="Our Staff" description=""/&gt; &lt;siteMapNode url="~/NewsLetters/NewsLetterJune09.aspx" title="NewsLetter" description=""/&gt; &lt;/siteMapNode&gt; &lt;!--Services Dropdown--&gt; &lt;siteMapNode url="~/Services.aspx" title="Services" description="" &gt; &lt;siteMapNode url="~/Services/methodology.aspx" title="Implementation Methodology" description=""/&gt; &lt;siteMapNode url="~/Services/training.aspx" title="Training" description=""/&gt; &lt;siteMapNode url="~/Services/tailoredreporting.aspx" title="Tailored Reporting" description="" /&gt; &lt;siteMapNode url="~/services/support.aspx#header" title="Support" description="" /&gt; &lt;siteMapNode url="~/Services/customprogram.aspx" title="Custom Programming Solutions" description=""/&gt; &lt;siteMapNode url="~/Services/workflow.aspx" title="Workflow Analysis" description=""/&gt; &lt;siteMapNode url="~/Services/clientcare.aspx" title="Client Care" description=""/&gt; &lt;/siteMapNode&gt; &lt;!--Products Dropdown--&gt; &lt;siteMapNode url="~/products.aspx" title="Products" description=""&gt; &lt;siteMapNode url="~/Products/accounting.aspx" title="Accounting" description=""/&gt; &lt;siteMapNode url="~/Products/sagecrm.aspx" title="Customer Relationship Mgmt" description=""/&gt; &lt;siteMapNode url="~/Products/ecommerce.aspx" title="eCommerce" description="" /&gt; &lt;siteMapNode url="~/Products/fixedassets.aspx" title="Fixed Assets" description=""/&gt; &lt;siteMapNode url="~/Products/humanresourcemanagment.aspx" title="Human Resource Management" description=""/&gt; &lt;siteMapNode url="~/Products/servicejob.aspx" title="Service &amp; Job Cost" description=""/&gt; &lt;siteMapNode url="~/Products/businessintelligence.aspx" title="Business Intelligence" description="" /&gt; &lt;siteMapNode url="~/Products/warehousesolutions.aspx" title="Document Imaging" description=""/&gt; &lt;siteMapNode url="~/Products/manufacturingsol.aspx" title="Warehouse Solutions" description=""&gt; &lt;siteMapNode url="~/Products/ManufacturingSolutions/customconfig.aspx" title="Custom Configuration" tittle="" description=""/&gt; &lt;/siteMapNode&gt; &lt;siteMapNode url="~/Products/pointofsale.aspx" title="Point of Sale" description=""/&gt; &lt;siteMapNode url="~/Products/electronicinterchange.aspx" title="EDI" description=""/&gt; &lt;siteMapNode url="~/Products/addsageapps.aspx" title="Additional Sage Accpac Applications" description=""/&gt; &lt;/siteMapNode&gt; &lt;!--Careers, Support, and Contact Links--&gt; &lt;siteMapNode url="careers.aspx" title="Careers" description=""&gt;&lt;/siteMapNode&gt; &lt;siteMapNode url="~/services/support.aspx" title="Support" description=""&gt;&lt;/siteMapNode&gt; &lt;siteMapNode url="~/Contact.aspx" title="Contact" description=""&gt;&lt;/siteMapNode&gt; &lt;siteMapNode url="~/PressReleases/pressreleases.aspx#header" title="News &amp; Events" description=""&gt; &lt;siteMapNode url="~/PressReleases/pressreleases.aspx" title="Press Releases" description=""/&gt; &lt;/siteMapNode&gt; &lt;/siteMapNode&gt; &lt;/siteMap&gt; </pre> <P><BR>&nbsp;</P> <P>And here's the CSS:</P><pre class="prettyprint">#navigation { margin-left: 13px; width: 838px; height: 30px; background-image: url(../images/navx.png); background-position: top left; background-repeat: repeat-x; } /* This file should contain SUPPLEMENTAL rules that are recognized and used only by IE. Similar files can be produced, as needed, for other browsers. Whatever selectors are listed here should be listed in at least one other CSS file used in the current ASP.NET theme (thus making these supplemental). The implementation pattern is to add new props to some existing rule or to override (using important) some property. */ ul.AspNet-Menu li { float: left !important; height: 1% !important; } ul.AspNet-Menu li a, ul.AspNet-Menu li span { height: 1% !important; color:#fff; font-weight:bold; font-size:13px; font:verdana, arial, sans-serif; padding:5px 10px 9px 10px; border-right:1px #2F455F solid; } ul ul a.AspNet-Menu-Link{width:275px; padding:5px 0 5px 5px; border-bottom:1px #18314F solid;} ul ul a:hover.AspNet-Menu-Link{width:275px;padding:5px 0 5px 5px; background:#124273;color:#ccc;text-decoration:underline;} ul.AspNet-Menu li a:hover { color:#ccc; position:relative; z-index:1000; } .AspNet-Menu-Horizontal ul.AspNet-Menu li li { float: left !important; } /* Undoing rules used for IE7 and other browsers. */ ul.AspNet-Menu ul { visibility: visible !important; } ul.AspNet-Menu li:hover ul ul, ul.AspNet-Menu li.AspNet-Menu-Hover ul ul { visibility: visible !important; } ul.AspNet-Menu li:hover ul, ul.AspNet-Menu li li:hover ul, ul.AspNet-Menu li li li:hover ul, ul.AspNet-Menu li.AspNet-Menu-Hover ul, ul.AspNet-Menu li li.AspNet-Menu-Hover ul, ul.AspNet-Menu li li li.AspNet-Menu-Hover ul { visibility: visible !important; background:#122742; color:#fff; width:280px; display:block; } ul.AspNet-Menu li:hover ul ul{margin-left:280px;margin-top:-10px;} </pre> <p><br> &nbsp;</p> <p>&nbsp;</p> <p>Please let me know if i'm missing something.&nbsp; Any help will be appreciated :-)&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> 2009-08-19T13:47:02-04:003460729http://forums.asp.net/p/1460797/3460729.aspx/1?Re+One+of+the+CSS+Firendly+Control+Adapter+menu+control+problemsRe: One of the CSS Firendly Control Adapter menu control problems <p>Did you ever find a solution to your issue? I'm running into a similar problem as I'm trying to implement a menu using the CSS Friendly Adapter. I've been searching and trying a ton of things so far and just haven't been able to come up with a solution.&nbsp;</p> <p>Working with the information in your post, I can get to where you were and it works fine except in IE. After browsing your test site, I can see that you finally figured out a solution (at least it works in IE for me). I'm hoping you wouldn't mind sharing what you did to finally make it work.</p> <p>Thanks for any help you can offer!</p> 2009-10-15T19:35:28-04:00