ARGH -- It's my problem. When the problem occurs, the color variables aren't defined in the code. See, when you register to use the site, there are themes available (two at the moment). The theme you want is stored in a cookie. When you have no cookie for the site, my menu_data.js.php doesn't know which style you want.
Code: Select all
<?
switch($HTTP_COOKIE_VARS['style']) {
//SNIP
case "gdi":
default:
$color1="#909090";
$color2="#004000";
$color3="#808040";
$color4="#004000";
$color5="#666699";
$opacity="98";
break;
}
?>
I just made "gdi" style the default which is how it is at the moment anyway and now it works. When you first load the page, if you don't have the "style" cookie defined, you're given the "gdi" setting. But of course on your first page load, you wouldn't have the cookie sent to the server yet.
OK, but at least I learned about the itemwidth attribute. I was trying to find something like that but I didn't know what was available so I resorted to the clumsy solution of non-breaking spaces.
Is there a list anywhere yet of all those attributes we can use in the aI() function and the menu-level??
Thanks again for getting me in the right direction.
Christine