tags:

views:

101

answers:

0

I have a YUI MenuBar on my site that on rare occasion does not display in IE, I have not been able to repro on other browsers so far. Here is my code:

HTML

<body class="yui-skin-sam">
<div id="bodyPanel" style="background-color:Transparent;">
<div id="menuPanel"></div>

Javascript

aItems = [
           { text: "Home", url: "/Home" },
           { text: "<span style='color:blue'>Sign Up</span>", url: "/SignUp" }
         ]; 
var oMenu = new YAHOO.widget.MenuBar("mymenu");
oMenu.addItems(aItems);
oMenu.render(getById("menuPanel"));
oMenu.show();

Extra notes: Its on a ASP.NET MVC webiste. I am running on a slow connection.