Вот ссылки меню// Most of the links are set to \'#\' hashes, make sure you change them to actual files.menu[0][1] = new Item(\' File\', \'#\', \'\', 40, 10, 1);menu[0][2] = new Item(\' Edit\', \'#\', \'\', 40, 10, 2);menu[0][3] = new Item(\' Help\', \'#\', \'\', 40, 10, 3);// An example of a link with a target frame/window as well...menu[0][4] = new Item(\' Site\', \'http://gusnz.cjb.net\', \'_new\', 40, 10, 0);вот выпадающее!// File menu.menu[1] = new Array();// The File menu is positioned 0px across and 22 down from its trigger, and is 80 wide.// All text in this menu has the stylesheet class \'item\' -- see the <style> section above.// We\'ve passed a \'greater-than\' sign \'>\' as a popout indicator. Try an image...?menu[1][0] = new Menu(true, \'>\', 0, 22, 80, defOver, defBack, \'itemBorder\', \'itemText\'
;menu[1][1] = new Item(\'Open\', \'#\', \'\', defLength, 0, 0);menu[1][2] = new Item(\'Save\', \'#\', \'\', defLength, 0, 0);// Non-zero target means this will trigger a popout -- menu[4] which is the \'Reopen\' menu.menu[1][3] = new Item(\'Reopen\', \'#\', \'\', defLength, 0, 4);menu[1][4] = new Item(\'Exit\', \'#\', \'\', defLength, 0, 0);// Edit menu.menu[2] = new Array();menu[2][0] = new Menu(true, \'>\', 0, 22, 80, defOver, defBack, \'itemBorder\', \'itemText\'
;menu[2][1] = new Item(\'Cut\', \'#\', \'\', defLength, 0, 0);menu[2][2] = new Item(\'Copy\', \'#\', \'\', defLength, 0, 0);menu[2][3] = new Item(\'Paste\', \'#\', \'\', defLength, 0, 0);// Help menumenu[3] = new Array();menu[3][0] = new Menu(true, \'<\', 0, 22, 80, defOver, defBack, \'itemBorder\', \'itemText\'
;menu[3][1] = new Item(\'Contents\', \'#\', \'\', defLength, 0, 0);menu[3][2] = new Item(\'Index\', \'#\', \'\', defLength, 0, 0);menu[3][3] = new Item(\'About\', \'#\', \'\', defLength, 0, 5);// Reopen menumenu[4] = new Array();// This is across but not down... a horizontal popout (with crazy stylesheets
...menu[4][0] = new Menu(true, \'>\', 85, 0, 120, \'#333366\', \'#666699\', \'crazyBorder\', \'crazyText\'
;// These items are lengthier than normal, and have extra spacing due to the fancy borders.menu[4][1] = new Item(\'Recent Doc 1:<br>Schedule\', \'#\', \'\', 36, 4, 0);menu[4][2] = new Item(\'Recent Doc 2:<br>Plan\', \'#\', \'\', 36, 7, 0);menu[4][3] = new Item(\'Etc. etc...\', \'#\', \'\', defLength, 0, 0);// Help About popoutmenu[5] = new Array();// Leftwards popout with a negative x and y relative to its trigger.menu[5][0] = new Menu(true, \'>\', -85, -17, 80, defOver, defBack, \'itemBorder\', \'itemText\'
;menu[5][1] = new Item(\'Leftwards!<br>And up!\', \'#\', \'\', 40, 0, 0);допустим у тебя ссылка menu[0][1] = new Item(\' File\', \'#\', \'\', 40, 10, 1);к ней относится кусок кода выпадающего// File menu.menu[1] = new Array();// The File menu is positioned 0px across and 22 down from its trigger, and is 80 wide.// All text in this menu has the stylesheet class \'item\' -- see the <style> section above.// We\'ve passed a \'greater-than\' sign \'>\' as a popout indicator. Try an image...?menu[1][0] = new Menu(true, \'>\', 0, 22, 80, defOver, defBack, \'itemBorder\', \'itemText\'
;