/*********************************************************************************** * (c) Ger Versluis 2000 version 8.2 4 April 2002 * * You may use this script on non commercial sites. * * For info write to menus@burmees.nl * * You may remove all comments for faster loading * ***********************************************************************************/ var NoOffFirstLineMenus=5; // Number of main menu items // Colorvariables: // Color variables take HTML predefined color names or "#rrggbb" strings //For transparency make colors and border color "" var LowBgColor="brown"; // Background color when mouse is not over var HighBgColor="lightblue"; // Background color when mouse is over var FontLowColor="yellow"; // Font color when mouse is not over var FontHighColor="blue"; // Font color when mouse is over var BorderColor="black"; // Border color var BorderWidth=1; // Border width var BorderBtwnElmnts=1; // Border between elements 1 or 0 var FontFamily="Arial, Tahoma, Sans Serif" // Font family menu items var FontSize=9; // Font size menu items var FontBold=0; // Bold menu items 1 or 0 var FontItalic=0; // Italic menu items 1 or 0 var MenuTextCentered="center"; // Item text position left, center or right var MenuCentered="left"; // Menu horizontal position can be: left, center, right, justify, // leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use var MenuVerticalCentered="top"; // Menu vertical position top, middle,bottom or static var ChildOverlap=.2; // horizontal overlap child/ parent var ChildVerticalOverlap=.2; // vertical overlap child/ parent var StartTop=116; // Menu offset x coordinate var StartLeft=221; // Menu offset y coordinate var VerCorrect=0; // Multiple frames y correction var HorCorrect=0; // Multiple frames x correction var LeftPaddng=3; // Left padding var TopPaddng=5; // Top padding var FirstLineHorizontal=1; // First level items layout horizontal 1 or 0 var MenuFramesVertical=1; // Frames in cols or rows 1 or 0 var DissapearDelay=1000; // delay before menu folds in var UnfoldDelay=100; // delay before sub unfolds var TakeOverBgColor=1; // Menu frame takes over background color subitem frame var FirstLineFrame=""; // Frame where first level appears var SecLineFrame=""; // Frame where sub levels appear var DocTargetFrame=""; // Frame where target documents appear var TargetLoc=""; // span id for relative positioning var MenuWrap=1; // enables/ disables menu wrap 1 or 0 var RightToLeft=0; // enables/ disables right to left unfold 1 or 0 var BottomUp=0; // enables/ disables Bottom up unfold 1 or 0 var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover var BaseHref="http://www.idipendenti.it/"; // BaseHref lets you specify the root directory for relative links. // The script precedes your relative links with BaseHref // For instance: // when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm", // the script renders to: "http://www.MyDomain/subdir/MyFile.htm" // Can also be used when you use images in the textfields of the menu // "MenuX=new Array("" // For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/" var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5,BaseHref+"trileft.gif",5,10,BaseHref+"triup.gif",10,5]; // Arrow source, width and height. // If arrow images are not needed keep source "" var MenuUsesFrames=0; // MenuUsesFrames is only 0 when Main menu, submenus, // document targets and script are in the same frame. // In all other cases it must be 1 var RememberStatus=0; // RememberStatus: When set to 1, menu unfolds to the presetted menu item. // The preset is done by the body onload of target document. // In frame setup the body onload is: // onload="if(parent.frames[0]&&parent.frames['navig'].SetMenu)parent.frames['navig'].SetMenu='x_x';" // In a single page the body onload is: // onload="if(window.SetMenu)window.SetMenu='x_x'" // x_x represents the menu item MenuX_X=new Array(....... // To preset the menu to no item use '0' for 'x_x' var PartOfWindow=.8; // PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to // Below some pretty useless effects, since only IE5+ supports them // I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity // If you don't need MenuSlide just leave in the line var MenuSlide=""; // delete the other MenuSlide statements // In general leave the MenuSlide you need in and delete the others. // Above is also valid for MenuShadow and MenuOpacity // You can also use other effects by specifying another filter for MenuShadow and MenuOpacity. // You can add more filters by concanating the strings var MenuSlide=""; // var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)"; // var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)"; var MenuShadow=""; // var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)"; // var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)"; var MenuOpacity=""; // var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=75)"; function BeforeStart(){return} function AfterBuild(){return} function BeforeFirstOpen(){return} function AfterCloseAll(){return} // Menu tree: // MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor", // "fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext"); // Color and font variables defined in the menu tree take precedence over the global variables // Fontsize, fontbold and fontitalic are ignored when set to -1. // For rollover images ItemText format is: "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" Menu1=new Array("AZIENDA","azienda/azienda.asp",BaseHref+"images/menu/btn_menu_azienda.gif",0,20,89,"","","FFFFFF","000000","","",-1,1,-1,"","Azienda"); Menu2=new Array("PRODOTTO","",BaseHref+"images/menu/btn_menu_prodotto.gif",7,20,103,"","","FFFFFF","000000","","",-1,1,-1,"","Prodotto"); Menu2_1=new Array("Risorse Umane","prodotto/risorse_umane.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Risorse Umane"); Menu2_2=new Array("Il Prodotto IDP","prodotto/prodotto_idp.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Il Prodotto IDP"); Menu2_3=new Array("Vantaggi","prodotto/vantaggi.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Vantaggi"); Menu2_4=new Array("Struttura","prodotto/struttura.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Struttura"); Menu2_5=new Array("Caratteristiche Funzionali","prodotto/caratteristiche_funzionali.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Caratteristiche Funzionali"); Menu2_6=new Array("Caratteristiche Tecniche","prodotto/caratteristiche_tecniche.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Caratteristiche Tecniche"); Menu2_7=new Array("Copyright","prodotto/copyright.asp","",0,21,150,"CF753A","","FFFFFF","000000","","",8,1,-1,"left","Copyright"); Menu3=new Array("STRUTTURA","",BaseHref+"images/menu/btn_menu_struttura.gif",3,20,103,"","","FFFFFF","000000","","",-1,1,-1,"","Struttura"); Menu3_1=new Array("Risorse","","",6,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Risorse"); Menu3_1_1=new Array("Anagrafico","struttura/anagrafico.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Anagrafico"); Menu3_1_2=new Array("Documenti","struttura/documenti.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Documenti"); Menu3_1_3=new Array("Formazione","struttura/formazione.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Formazione"); Menu3_1_4=new Array("Scadenziario","struttura/scadenziario.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Scadenziario"); Menu3_1_5=new Array("Retribuzioni","struttura/retribuzioni.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Retribuzioni"); Menu3_1_6=new Array("Infortuni","struttura/infortuni.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Infortuni"); Menu3_2=new Array("Organizzazione","","",3,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Organizzazione"); Menu3_2_1=new Array("Roles","struttura/roles.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Roles"); Menu3_2_2=new Array("Job description","struttura/job_description.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Job description"); Menu3_2_3=new Array("Knowledge","struttura/knowledge.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Knowledge"); Menu3_3=new Array("Tools","","",4,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Tools"); Menu3_3_1=new Array("Milestone","struttura/milestone.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Milestone"); Menu3_3_2=new Array("Sicurezza","struttura/sicurezza.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Sicurezza"); Menu3_3_3=new Array("Amministrazione","struttura/amministrazione.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Amministrazione"); Menu3_3_4=new Array("Help","struttura/help.asp","",0,21,100,"C0672C","","FFFFFF","000000","","",8,1,-1,"left","Help"); Menu4=new Array("DEMO IDP","demo/demo.asp",BaseHref+"images/menu/btn_menu_referenze.gif",0,20,110,"","","FFFFFF","000000","","",-1,1,-1,"","Demo prodotto IDP"); Menu5=new Array("CONTATTI","contatti/contatti.asp",BaseHref+"images/menu/btn_menu_contatti.gif",0,20,93,"","","FFFFFF","000000","","",-1,1,-1,"","Contatti");