_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out _menuOpenDelay=150 // The time delay before menus open on mouse over _subOffsetTop=10 // Sub menu top offset _subOffsetLeft=-10 // Sub menu left offset //general styles for menus with(menuStyle=new mm_style()){ onbgcolor="#B11E00"; oncolor="#ffffff"; offbgcolor="#ffffff"; offcolor="#000000"; bordercolor="#B11E00"; borderstyle="solid"; borderwidth=0; separatorcolor="#eaeaea"; separatorsize="1"; padding=2; fontsize="11px"; fontstyle="normal"; fontfamily="Verdana, Arial, Helvetica, Tahoma"; pagecolor="#FFFFFF"; pagebgcolor="#B11E00"; headercolor=""; headerbgcolor=""; subimage=""; subimagepadding=""; overfilter="Fade(duration=0.2);Alpha(opacity=90);"; outfilter="randomdissolve(duration=0.3)"; } with(subMenuStyle=new mm_style()){ onbgcolor="#B11E00"; oncolor="#ffffff"; offbgcolor="#ffffff"; offcolor="#B11E00"; bordercolor="#B11E00"; borderstyle="solid"; borderwidth=1; separatorcolor="#B11E00"; separatorsize="1"; padding=3; fontsize="10px"; fontstyle="normal"; fontfamily="Verdana, Arial, Helvetica, Tahoma"; pagecolor="#ffffff"; pagebgcolor="#B11E00"; headercolor=""; headerbgcolor=""; subimage=""; subimagepadding=""; itemwidth=120; overfilter="Fade(duration=0.1);Alpha(opacity=90);"; outfilter="randomdissolve(duration=0.1)"; } with(milonic=new menuname("Main Menu")) { style=menuStyle; top=50; left=18; alwaysvisible=1; orientation="horizontal"; aI("text= Startsida ;url=category.php?categoryID=7;status=Till Startsida;"); aI("text= Om oss ;showmenu=Submenu20;url=category.php?categoryID=20;status=Till Om oss;"); aI("text= Nyheter/Grafisk profil ;showmenu=Submenu23;url=category.php?categoryID=23;status=Till Nyheter/Grafisk profil;"); aI("text= Produkter ;showmenu=Submenu24;url=category.php?categoryID=24;status=Till Produkter;"); aI("text= Recept ;showmenu=Submenu22;url=category.php?categoryID=22;status=Till Recept;"); aI("text= För barnen ;url=category.php?categoryID=38;status=Till För barnen;"); aI("text= Här finns vi ;url=category.php?categoryID=25;status=Till Här finns vi;"); aI("text= Kontakta oss ;showmenu=Submenu21;url=category.php?categoryID=21;status=Till Kontakta oss;"); aI("text= Medlem ;image=images/icon_locked.gif;imagewidth=8;imageheight=13;imagepadding=3;offcolor=#666666;clickfunction=lockedCat();status=Till Medlem;"); } with(milonic=new menuname("Submenu20")){ style=subMenuStyle; overflow="scroll"; aI("text=Företagspresentation ;url=category.php?categoryID=65;status=Till Företagspresentation;"); aI("text=Historik ;url=category.php?categoryID=35;status=Till Historik;"); aI("text=Affärsidé ;url=category.php?categoryID=36;status=Till Affärsidé;"); aI("text=Ekonomiska rapporter ;url=category.php?categoryID=37;status=Till Ekonomiska rapporter;"); aI("text=Reklamfilmer ;url=category.php?categoryID=70;status=Till Reklamfilmer;"); } with(milonic=new menuname("Submenu23")){ style=subMenuStyle; overflow="scroll"; aI("text=Senaste nytt ;url=category.php?categoryID=48;status=Till Senaste nytt;"); aI("text=Grafisk profil ;url=category.php?categoryID=49;status=Till Grafisk profil;"); } with(milonic=new menuname("Submenu24")){ style=subMenuStyle; overflow="scroll"; aI("text=Mjölk ;url=category.php?categoryID=39;status=Till Mjölk;"); aI("text=Filmjölk ;url=category.php?categoryID=72;status=Till Filmjölk;"); aI("text=Yoghurt ;url=category.php?categoryID=73;status=Till Yoghurt;"); aI("text=Grädde ;url=category.php?categoryID=41;status=Till Grädde;"); aI("text=Juice ;url=category.php?categoryID=74;status=Till Juice;"); aI("text=Creme fraiche ;url=category.php?categoryID=75;status=Till Creme fraiche;"); aI("text=Glass ;url=category.php?categoryID=42;status=Till Glass;"); aI("text=Ost ;url=category.php?categoryID=40;status=Till Ost;"); } with(milonic=new menuname("Submenu22")){ style=subMenuStyle; overflow="scroll"; aI("text=Bakverk & Godsaker ;url=category.php?categoryID=50;status=Till Bakverk & Godsaker;"); aI("text=Drycker ;url=category.php?categoryID=52;status=Till Drycker;"); aI("text=Desserter ;url=category.php?categoryID=53;status=Till Desserter;"); aI("text=Frukost & Brunch ;url=category.php?categoryID=54;status=Till Frukost & Brunch;"); aI("text=Förrätter ;url=category.php?categoryID=55;status=Till Förrätter;"); aI("text=Festmat ;url=category.php?categoryID=56;status=Till Festmat;"); aI("text=Mellanmål ;url=category.php?categoryID=57;status=Till Mellanmål;"); aI("text=Sallader ;url=category.php?categoryID=58;status=Till Sallader;"); aI("text=Smårätter & tilltugg ;url=category.php?categoryID=59;status=Till Smårätter & tilltugg;"); aI("text=Soppor ;url=category.php?categoryID=60;status=Till Soppor;"); aI("text=Såser & dressingar ;url=category.php?categoryID=61;status=Till Såser & dressingar;"); aI("text=Varmrätter ;url=category.php?categoryID=62;status=Till Varmrätter;"); aI("text=Vegetarisk ;url=category.php?categoryID=68;status=Till Vegetarisk;"); } with(milonic=new menuname("Submenu21")){ style=subMenuStyle; overflow="scroll"; aI("text=Kontaktpersoner ;url=category.php?categoryID=66;status=Till Kontaktpersoner;"); aI("text=Adress mm ;url=category.php?categoryID=44;status=Till Adress mm;"); aI("text=Frågor & Svar ;url=category.php?categoryID=45;status=Till Frågor & Svar;"); aI("text=Länkar ;url=category.php?categoryID=71;status=Till Länkar;"); } drawMenus();