/* --- geometry and timing of the menu --- */ var MENU_POS2 = new Array(); // item sizes for different levels of menu MENU_POS2['height'] = [14, 16, 16]; MENU_POS2['width'] = [0 +120, 110+120, 110+120]; // menu block offset from the origin: // for root level origin is upper left corner of the page // for other levels origin is upper left corner of parent item MENU_POS2['block_top'] = [304, 20, 0]; MENU_POS2['block_left'] = [(((screen.width/2)-375)+10), 0, 110]; // offsets between items of the same level MENU_POS2['top'] = [0, 20, 20]; MENU_POS2['left'] = [0+120, 0, 0]; // time in milliseconds before menu is hidden after cursor has gone out // of any items MENU_POS2['hide_delay'] = [200, 200, 200]; /* --- dynamic menu styles --- note: you can add as many style properties as you wish but be not all browsers are able to render them correctly. The only relatively safe properties are 'color' and 'background'. */ var MENU_STYLES2 = new Array(); // default item state when it is visible but doesn't have mouse over //MENU_STYLES2['onmouseout'] = [ // 'color', ['#330066', '#330066', '#330066'], // 'background', ['#8B1C19', '#8B1C19', '#8B1C19'], // 'borderColor', ['white', 'white', 'white'], //]; MENU_STYLES2['onmouseout'] = [ 'color', ['white', 'white', 'white'], 'background', ['#8B1C19', '#8B1C19', '#8B1C19'], 'borderColor', ['#8B1C19', '#8B1C19', '#8B1C19'], ]; // state when item has mouse over it MENU_STYLES2['onmouseover'] = [ 'color', ['white', 'white', 'white'], 'background', ['#202262', '#202262', '#202262'], 'borderColor', ['white', 'white', 'white'], 'cursor', ['hand', 'hand', 'hand'], ]; MENU_STYLES2['onmousedown'] = [ 'color', ['white', 'white', 'white'], 'background', ['#202262', '#202262', '#202262'], 'borderColor', ['', 'yellow', 'yellow'], ];