//UDMv3.5 //**DO NOT EDIT THIS ***** if (!exclude) { //******** //************************ /////////////////////////////////////////////////////////////////////////// // // ULTIMATE DROPDOWN MENU VERSION 3.5 by Brothercake // This is a special version for Dynamic Drive (http://www.dynamicdrive.com) // // Link-wrapping routine by Brendan Armstrong // Original KDE modifications by David Joham // Opera reload/resize based on a routine by Michael Wallner // Select-element hiding routine by Huy Do // /////////////////////////////////////////////////////////////////////////// // *** POSITIONING AND STYLES ********************************************* var menuALIGN = "center"; // alignment var absLEFT = 0; // absolute left or right position (if menu is left or right aligned) var absTOP = 204; // absolute top position var staticMENU = false; // static positioning mode (ie5,ie6 and ns4 only) var stretchMENU = false; // show empty cells var showBORDERS = false; // show empty cell borders var baseHREF = ""; // base path to .js files for the script (ie: resources/) var zORDER = 1000; // base z-order of nav structure (not ns4) var mCOLOR = "f9aede"; // main nav cell color var rCOLOR = "e09fc9"; // main nav cell rollover color var bSIZE = 1; // main nav border size var bCOLOR = "white" // main nav border color var aLINK = "white"; // main nav link color var aHOVER = ""; // main nav link hover-color (dual purpose) var aDEC = "none"; // main nav link decoration var fFONT = "arial"; // main nav font face var fSIZE = 12; // main nav font size (pixels) var fWEIGHT = "bold" // main nav font weight var tINDENT = 7; // main nav text indent (if text is left or right aligned) var vPADDING = 7; // main nav vertical cell padding var vtOFFSET = 0; // main nav vertical text offset (+/- pixels from middle) var keepLIT = true; // keep rollover color when browsing menu var vOFFSET = 5; // shift the submenus vertically var hOFFSET = 4; // shift the submenus horizontally var smCOLOR = "e09fc9"; // submenu cell color var srCOLOR = "dd7ebb"; // submenu cell rollover color var sbSIZE = 0; // submenu border size var sbCOLOR = "black" // submenu border color var saLINK = "white"; // submenu link color var saHOVER = ""; // submenu link hover-color (dual purpose) var saDEC = "none"; // submenu link decoration var sfFONT = "verdana";// submenu font face var sfSIZE = 11; // submenu font size (pixels) var sfWEIGHT = "normal" // submenu font weight var stINDENT = 5; // submenu text indent (if text is left or right aligned) var svPADDING = 1; // submenu vertical cell padding var svtOFFSET = 0; // submenu vertical text offset (+/- pixels from middle) var shSIZE = 2; // submenu drop shadow size var shCOLOR = "#000000"; // submenu drop shadow color var shOPACITY = 55; // submenu drop shadow opacity (not ie4,ns4 or opera) var keepSubLIT = true; // keep submenu rollover color when browsing child menu var chvOFFSET = -12; // shift the child menus vertically var chhOFFSET = 7; // shift the child menus horizontally var openTIMER = 10; // [** new **] menu opening delay time (not ns4/op5/op6) var openChildTIMER = 20; // [** new **] child-menu opening delay time (not ns4/op5/op6) var closeTIMER = 330; // menu closing delay time var cellCLICK = true; // links activate on TD click var aCURSOR = "hand"; // cursor for active links (not ns4 or opera) var altDISPLAY = ""; // where to display alt text var allowRESIZE = mu; // allow resize/reload var redGRID = false; // show a red grid var gridWIDTH = 850; // override grid width var gridHEIGHT = 500; // override grid height var documentWIDTH = 0; // override document width var hideSELECT = false; // auto-hide select boxes when menus open (ie only) var allowForSCALING = false; // allow for text scaling in gecko browsers var allowPRINTING = false; // allow the navbar and menus to print (not ns4) var arrWIDTH = 13; // [** new **] arrow width (not ns4/op5/op6) var arrHEIGHT = 13; // [** new **] arrow height (not ns4/op5/op6) var arrHOFFSET = -1; // [** new **] arrow horizontal offset (not ns4/op5/op6) var arrVOFFSET = -3; // [** new **] arrow vertical offset (not ns4/op5/op6) var arrVALIGN = "middle"; // [** new **] arrow vertical align (not ns4/op5/op6) var arrLEFT = "<"; // [** new **] left arrow (not ns4/op5/op6) var arrRIGHT = ">"; // [** new **] right arrow (not ns4/op5/op6) //** LINKS *********************************************************** // add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER") [** last four are new **] addMainItem("index.php","Hem",140,"center","","",0,0,"","","","",""); addMainItem("index.php?page=about","Allt om Pralin",182,"center","","",0,0,"","","","",""); defineSubmenuProperties(182,"left","left",-5,-4,"","","","","","",""); addSubmenuItem("index.php?page=news","Nyheter","",""); addMainItem("","Produkter",172,"center","","",0,0,"","","","",""); defineSubmenuProperties(172,"left","left",-5,-4,"","","","","","",""); addSubmenuItem("index.php?page=products&id=7","Leksaker","",""); addSubmenuItem("index.php?page=products&id=11","Barnkläder","",""); addSubmenuItem("index.php?page=products&id=15","Keramik","",""); addSubmenuItem("index.php?page=products&id=16","Skönhet","",""); addSubmenuItem("index.php?page=products&id=17","Smycken","",""); addSubmenuItem("index.php?page=products&id=18","Inredning","",""); addSubmenuItem("index.php?page=products&id=19","kläder","",""); //addMainItem("index.php?page=providers","Leverantörer",102,"center","","",0,0,"","","","",""); //addMainItem("index.php?page=retailer-info","ÅF-Information",122,"center","","",0,0,"","","","",""); addMainItem("index.php?page=vip","Bli VIP-kund",172,"center","","",0,0,"","","","",""); //addMainItem("http://www.kidshome.se/","Webbshop",112,"center","_blank","",0,0,"","","","",""); addMainItem("index.php?page=contact","Kontakta oss",177,"center","","",0,0,"","","","",""); //**DO NOT EDIT THIS ***** }//*********************** //************************