home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / tema / tipy / bentley.mht / index.php < prev    next >
Encoding:
Text File  |  2003-01-06  |  11.8 KB  |  203 lines

  1.  
  2. //The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
  3. menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
  4. //Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.
  5.  
  6.  
  7.  
  8. ////////////////////////////////////
  9. // Editable properties START here //
  10. ////////////////////////////////////
  11.  
  12.  
  13. if(navigator.appVersion.indexOf("MSIE 6.0")>0)
  14. {
  15.     effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
  16. }
  17. else
  18. {
  19.     effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
  20. }
  21.  
  22.  
  23. timegap=500            // 500The time delay for menus to remain visible
  24. followspeed=5        // 5Follow Scrolling speed
  25. followrate=40        // 40Follow Scrolling Rate
  26. suboffset_top=10;    // Sub menu offset Top position 
  27. suboffset_left=10;    // Sub menu offset Left position
  28.  
  29. style1=[            // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
  30. "ffffff",                // Mouse Off Font Color
  31. "#006699",            // Mouse Off Background Color
  32. "#006699",            // Mouse On Font Color
  33. "ffffff",            // Mouse On Background Color
  34. "ffffff",            // Menu Border Color 
  35. 12,                    // Font Size in pixels
  36. "normal",            // Font Style (italic or normal)
  37. "bold",                // Font Weight (bold or normal)
  38. "Verdana, Arial",    // Font Name
  39. 2,                    // Menu Item Padding
  40. ,        // Sub Menu Image (Leave this blank if not needed)
  41. ,                    // 3D Border & Separator bar
  42. ,            // 3D High Color
  43. ,            // 3D Low Color
  44. ,            // Current Page Item Font Color (leave this blank to disable)
  45. ,                // Current Page Item Background Color (leave this blank to disable)
  46. ,        // Top Bar image (Leave this blank to disable)
  47. ,            // Menu Header Font Color (Leave blank if headers are not needed)
  48. ,            // Menu Header Background Color (Leave blank if headers are not needed)
  49. "ffffff",            // Menu Item Separator Color
  50. ]
  51.  
  52.  
  53. addmenu(menu=[        // This is the array that contains your menu properties and details
  54. "mainmenu",            // Menu Name - This is needed in order for the menu to be called
  55. 32,                    // Menu Top - The Top position of the menu in pixels
  56. ,                // Menu Left - The Left position of the menu in pixels
  57. ,                    // Menu Width - Menus width in pixels
  58. 1,                    // Menu Border Width 
  59. "right",                    // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
  60. style1,                // Properties Array - this is set higher up, as above
  61. 1,                    // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
  62. "center",                // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
  63. ,                // Filter - Text variable for setting transitional effects on menu activation - see above for more info
  64. ,                    // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
  65. 1,                     // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
  66. ,                    // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
  67. ,                    // Position of TOP sub image left:center:right
  68. ,                    // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
  69. ,                    // Right To Left - Used in Hebrew for example. (1=on/0=off)
  70. ,                    // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
  71. ,                    // ID of the div you want to hide on MouseOver (useful for hiding form elements)
  72. ,                    // Background image for menu when BGColor set to transparent.
  73. ,                    // Scrollable Menu
  74. ,                    // Reserved for future use
  75. ," Produkty ","show-menu=products","http://www2.bentley.com/products/","",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
  76. ," Slu₧by ","show-menu=services","/index.php?content=services","",1
  77. ," Oborovß °eÜenφ ","show-menu=industryGroups","http://www2.bentley.com/industry_groups/","",1
  78. ," Akce & seminß°e ","show-menu=events","/index.php?content=events","",1
  79. ," Skupiny ","show-menu=communities","/index.php?content=com","",1
  80. ," Profil spoleΦnosti ","show-menu=corporate","/index.php?content=corp","",1
  81. ])
  82.  
  83. addmenu(menu=["products",
  84.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  85.     ,"MicroStation","http://www2.bentley.com/industry_groups/default.cfm?objectid=2FBF8BE2-38BD-4F26-80A58846CE454FCD&method=display&obtype=lob",,,1
  86.     ,"OborovΘ aplikace","show-menu=dsapps",,,1
  87.     ,"Serverovß °eÜenφ","show-menu=csapps",,,1
  88.     ,"VÜechny produkty","http://www2.bentley.com/products/default.cfm?objectid=C3AD156F-214E-434C-BC7744F0B59FBA61&method=product_index",,,1
  89.     ])
  90.  
  91.  
  92. //products stuff JLE
  93. addmenu(menu=["dsapps",
  94.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  95.     ,"Architektura","http://www2.bentley.com/industry_groups/default.cfm?objectid=7DC81D9D-2CBD-4304-A6D655ADAF7EA04F&method=display&obtype=lob&class=Building%20Engineering",,,1
  96.     ,"Dopravnφ stavby","http://www2.bentley.com/industry_groups/default.cfm?objectid=99057AC1-9182-4880-BA6B9ECA623F8028&method=display&obtype=lob&class=Transportation",,,1
  97.     ,"Sprßva majetku","http://www2.bentley.com/industry_groups/default.cfm?objectid=B3359242-FD14-4C35-97F3A273530DFA95&method=display&obtype=lob&class=Telecommunications%20And%20Utilities",,,1
  98.     ,"Geoin₧en²rstvφ","http://www2.bentley.com/industry_groups/default.cfm?objectid=733A0CB6-B58C-438C-AF8A38DE88DABD8E&method=display&obtype=lob&class=Government",,,1
  99.     ,"V²robnφ celky","http://www2.bentley.com/industry_groups/default.cfm?objectid=C087C268-C16E-4F3C-BF2B4B216EA993A0&method=display&obtype=lob&class=Plant%20Engineering",,,1
  100.     ])
  101. addmenu(menu=["csapps",
  102.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  103.     ,"Sprßva obsahu","http://www2.bentley.com/industry_groups/default.cfm?objectid=88668008-B8A3-48A1-BCB21F580619493F&method=display&obtype=lob",,,1
  104.     ,"Publikovßnφ obsahu","http://www2.bentley.com/industry_groups/default.cfm?objectid=D8D3DC77-2D75-4F11-87E920CD582926D8&method=display&obtype=lob",,,1
  105.     ])
  106.  
  107. //services stuff
  108.  
  109. addmenu(menu=["services",
  110.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  111.     ,"Bentley SELECT","/index.php?content=selects",,,1
  112.     ,"Bentley Consulting","/index.php?content=consult",,,1
  113.     ,"Bentley Institut","/index.php?content=instit",,,1
  114.     ,"Bentley Integrßto°i","/index.php?content=integr",,,1
  115.     ])
  116.  
  117. //events    
  118.     
  119. addmenu(menu=["events",
  120.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  121.     ," Kalendß° akcφ ","/index.php?content=events&list=true&type=1",,,1
  122.     ," Kalendß° Ükolenφ ","/index.php?content=events&list=true&type=2",,,1
  123.     /*,"Bentley FORUM","/events_training/default.cfm?objectid=142F9B2C-6D63-42A4-8D55EED3B17D4044&method=teaser_list&c_objectid=142F9B2C-6D63-42A4-8D55EED3B17D4044",,,1
  124.     ,"Bentley Institute Courses","/events_training/default.cfm?objectid=A4AC45FA-A3F1-4825-BF4F2283D8BF195B&method=teaser_list&c_objectid=A4AC45FA-A3F1-4825-BF4F2283D8BF195B",,,1
  125.     ,"Bentley International User Conference","/biuc/default.cfm",,,1
  126.     ,"Industry Events","/events_training/default.cfm?objectid=5D17E9DE-F30C-4EDE-AF4672CD15CA424D&method=teaser_list&c_objectid=5D17E9DE-F30C-4EDE-AF4672CD15CA424D",,,1
  127.     ,"MicroStation Community Events","/events_training/default.cfm?objectid=A23DFF71-6343-48B2-BF368523C2F3C2BC&method=teaser_list&c_objectid=A23DFF71-6343-48B2-BF368523C2F3C2BC",,,1*/
  128.     ])
  129.  
  130. //industry groups
  131.  
  132. addmenu(menu=["industryGroups",
  133.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  134.     ,"Architektura","http://www2.bentley.com/industry_groups/default.cfm?objectid=9D7BEEE8-FAC6-45B5-9D7015C81CB45DDD&method=display&class=Building%20Engineering",,,1
  135.     ,"Stßtnφ sprßva","http://www2.bentley.com/industry_groups/default.cfm?objectid=D245FFC5-F54B-4D21-9EBFF81140B2705C&method=display&class=Government",,,1
  136.     ,"V²robnφ celky","http://www2.bentley.com/industry_groups/default.cfm?objectid=D13357A1-C5EA-43B3-A21F1EC713C44250&method=display&class=Plant%20Engineering",,,1
  137.     ,"Doprava","http://www2.bentley.com/industry_groups/default.cfm?objectid=29CA5D98-C149-4642-B8D6E6B12C566D13&method=display&class=Transportation",,,1
  138.     ,"Telekomunikace a in₧. sφt∞","http://www2.bentley.com/industry_groups/default.cfm?objectid=7F89A1B0-63C0-43B4-93C579851360E293&method=display&class=Telecommunications%20And%20Utilities",,,1
  139.     ])
  140.  
  141. //communities
  142.  
  143. addmenu(menu=["communities",
  144.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  145.     ,"Bentley Education Network","http://www.bentley.cz/BEN/",,,1
  146.     ,"The MicroStation Community","http://www.tmc.org/",,,1
  147.     ,"Nezßvislφ v²vojß°i","http://www.bentley.com/developer/",,,1
  148.     ,"Diskusnφ skupiny","/index.php?content=disgroups",,,1
  149.     ])
  150.  
  151. //corporate
  152.  
  153. addmenu(menu=["corporate",
  154.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  155.     ," Novinky ","/index.php?content=news",,,1
  156.     ," Publikace ","/index.php?content=pub",,,1
  157.     //,"Media Room","/index.php?content=media",,,1
  158.     ," TiskovΘ centrum ","show-menu=mediaRoom",,,1
  159.     ," Vedenφ spoleΦnosti ","http://www2.bentley.com/corporate/default.cfm?objectid=39FAF944-D47F-4BC1-8F7CE7967CB9D4EB&method=teaser_list",,,1
  160.     ," O Bentley ","/index.php?content=about",,,1
  161.     //," O Bentley ","show-menu=aboutBentley",,,1
  162.     //,"Contacts","/index.php?content=contact",,,1
  163.     ," Kontakty ","show-menu=contacts",,,1
  164.     /*," Careers ","/corporate/careers/default.cfm?objectid=1F83FE71-522F-4EA2-9E51CA52FBE0D62D&method=display",,,1*/
  165.     ])
  166.  
  167. //corporate submenus
  168. //media room
  169.  
  170. addmenu(menu=["mediaRoom",
  171.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  172.     ," TiskovΘ zprßvy ","/index.php?content=press",,,1
  173.     ," BentleyWire ","http://www2.bentley.com/corporate/default.cfm?objectid=C8FFA9F4-B85C-47F6-914804A4F3D5B3B3&method=display",,,1
  174.     ," Napsali o nßs ","http://www2.bentley.com/corporate/default.cfm?objectid=6FF21B2A-C0F9-4E33-A4E850A2320B7E51&method=display",,,1
  175.     ," TiskovΘ materißly ","/index.php?content=medkit",,,1
  176.     ])
  177.  
  178. //about bentley
  179.  
  180. /*addmenu(menu=["aboutBentley",
  181.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  182.     ,"Copyright Policy","/corporate/default.cfm?objectid=9FF39257-0004-423D-847FA16649C7009A&method=display",,,1
  183.     ,"Privacy Policy","/corporate/default.cfm?objectid=C1868C12-6165-4DA9-9DE975F3359450B1&method=display",,,1
  184.     ,"Software Piracy Statement","/corporate/default.cfm?objectid=C44060BB-E485-4312-A11E0FC07E013642&method=display",,,1
  185.     ])*/
  186.  
  187. //contacts
  188.  
  189. addmenu(menu=["contacts",
  190.     ,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
  191.     ,"Bentley Systems ╚R","/index.php?content=contact&c=1",,,1
  192.     ,"Autorizovanφ prodejci","/index.php?content=contact&c=2",,,1
  193.     ,"Ostatnφ kontakty","/index.php?content=contact&c=3",,,1
  194.     /*,"Europe, Middle East, Africa Offices","/corporate/contacts/default.cfm?objectid=EA6534AE-BF2B-460A-AE352CB2937A65A8&method=teaser_list",,,1
  195.     ,"Europe, Middle East, Africa Integrators","/corporate/contacts/default.cfm?objectid=33F8B5DF-759D-493A-9DE93CE48F3E338D&method=teaser_list",,,1
  196.     ,"Europe, Middle East, Africa Resellers","/corporate/contacts/default.cfm?objectid=0DB01D80-9E32-4563-8F8ECFF3459B297F&method=teaser_list",,,1
  197.     ,"Asia-Pacific Offices","/corporate/contacts/default.cfm?objectid=EDDBBDAB-20F4-4E61-9927C3E0B6CC499B&method=teaser_list",,,1
  198.     ,"Asia-Pacific Integrators","/corporate/contacts/default.cfm?objectid=72CEA3B5-F03F-4148-9AA0797E5EF99E5D&method=teaser_list",,,1
  199.     ,"Asia-Pacific Resellers","/corporate/contacts/default.cfm?objectid=FEB199A4-59D2-4563-9EBCC856F7AAB193&method=teaser_list",,,1*/
  200.     ])
  201.  
  202. dumpmenus()
  203.