I have a horizontal toolbar, with all the menus bottom right aligned in 3.6 RC3. When I preview them (or show them for real) The first one gives me the error
Invalid argument
in this part of the index.html code for the toolbar:
function ShowMenu(mName, x, y, isCascading, hsImgName, algn) {
ClearTimer(smHnd);smHnd = 0;
if(isCascading) {
lsc = OpenMenus[nOM].SelCommand;
smHnd = window.setTimeout("if(nOM)if(lsc==OpenMenus[nOM].SelCommand)ShowMenu2('" + mName + "',0,0,true,''," + algn + ")", SubMenusDelay);
} else
ShowMenu2(mName, x, y, false, hsImgName, algn);
}
The next menu gives the error
tbHS[...].0 is null or not an object
on line 462
case 7:
tbleft = wh[0]/2-tbWidth[t]/2;
tbtop = wh[1]-tbHeight[t];
tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]/2-parseInt(dmbtbB[t].width)/2);
tbBacktop = tbStyle[t]==0?wh[1]-parseInt(dmbtbB[t].height):0;
break;
I'm including the menu file. Only the first two menus have the bad align. The rest work fine.