menu.js
上传用户:gzy2002
上传日期:2010-02-11
资源大小:1785k
文件大小:10k
源码类别:

电子政务应用

开发平台:

Java

  1. // *** SPECIAL NOTE *** To enable vertical menus, alter the value below
  2. // labelled oM.level[0].rows=1, changing the 1 to a zero. This *can* cause
  3. // display problems though, depending on your browser.
  4. var oM=new makeCM("oM")
  5. oM.pxBetween=0
  6. oM.fromTop=4
  7. oM.fromLeft=-1
  8. oM.menuPlacement=""
  9. //New properties in 4.06 - Set to open and/or close the menu onclick
  10. oM.closeOnClick=1
  11. // Change this value (in milliseconds) to control how long the menus
  12. // stay visible after a mouse-out event.
  13. oM.wait=1000
  14. oM.zIndex=0 
  15. oM.resizeCheck=1
  16. oM.onlineRoot=""
  17. oM.offlineRoot=""
  18. oM.fillImg="./../../images/tech/spacer.gif"
  19. oM.rows=1
  20. //Background bar properties
  21. oM.useBar=0
  22. oM.level[0]=new cm_makeLevel()
  23. oM.level[0].width=200
  24. oM.level[0].height=23
  25. oM.level[0].regClass="clNormal" 
  26. oM.level[0].overClass="clHover"  
  27. oM.level[0].borderX=1
  28. oM.level[0].borderY=0
  29. oM.level[0].borderClass="clB"
  30. // Change oM.level[0].rows=1 to oM.level[0].rows=0 to enable vertical menus
  31. oM.level[0].rows=1
  32. oM.level[0].offsetX=0
  33. oM.level[0].offsetY=21
  34. oM.level[0].arrow=0
  35. oM.level[0].arrowWidth=0
  36. oM.level[0].arrowHeight=0
  37. oM.level[1]=new cm_makeLevel()
  38. oM.level[1].regClass="cl2Normal" 
  39. oM.level[1].overClass="cl2Hover"
  40. oM.level[1].width=69
  41. oM.level[1].height=16
  42. oM.level[1].borderClass="cl2B"
  43. oM.level[1].borderX=1
  44. oM.level[1].borderY=1
  45. oM.makeMenu('top1','', '<img src="./../../images/tech/pribut010.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Tickets','','',74,23)
  46. oM.makeMenu("","top1",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Start New',"./../tickets/newticket.php",'',110)
  47. oM.makeMenu("","top1",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Simple Search',"./../tickets/ticketsearch.php?searchtype=simple",'',110)
  48. oM.makeMenu("","top1",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Advanced Search',"./../tickets/ticketsearch.php?searchtype=advanced",'',110)
  49. oM.makeMenu("","top1",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Quick Replies',"./../tickets/quick_reply.php",'',110)
  50. oM.makeMenu("","top1",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Saved Tickets',"./../tickets/saved.php",'',110)
  51. oM.makeMenu('top2','', '<img src="./../../images/tech/pribut020.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Calendar','./../calendar/index.php','',87,23)
  52. oM.makeMenu("","top2",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View Calendar',"./../calendar/index.php",'',110)
  53. oM.makeMenu("","top2",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View Today's Tasks',"./../calendar/index.php?do=monthly&type=list",'',110)
  54. oM.makeMenu("","top2",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View Overdue Tasks',"./../calendar/index.php?do=monthly&type=list&overdue=1",'',110)
  55. oM.makeMenu("","top2",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>New Task',"./../calendar/new.php",'',110)
  56. oM.makeMenu("","top2",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Search Tasks',"./../calendar/search.php",'',110)
  57. oM.makeMenu('top3','', '<img src="./../../images/tech/pribut030.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Teamwork','#','',95,23)
  58. oM.makeMenu("","top3",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Send Private Message',"./../teamwork/pms.php?do=send",'',110)
  59. oM.makeMenu("","top3",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View Private Messages',"./../teamwork/pms.php",'',110)
  60. oM.makeMenu("","top3",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Technicians',"./../teamwork/techs.php",'',110)
  61. oM.makeMenu('top4','', '<img src="./../../images/tech/pribut040.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Users','#','',67,23)
  62. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Simple Search',"./../users/search.php?do=simple",'',110)
  63. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Advanced Search',"./../users/search.php?do=advanced",'',110)
  64. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Add New User',"./../users/new.php",'',110)
  65. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Mass Add Users',"./../users/new.php?do=massadd",'',110)
  66. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Online Users',"./../users/online.php",'',110)
  67. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Validate New',"./../users/index.php",'',110)
  68. oM.makeMenu("","top4",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Send Email',"./../users/email.php",'',110)
  69. oM.makeMenu('top5','', '<img src="./../../images/tech/pribut050.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>News','#','',66,23)
  70. oM.makeMenu("","top5",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View tech News',"./../news/technews.php",'',150)
  71. oM.makeMenu("","top5",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Add new tech news entry',"./../news/technews.php?do=new",'',150)
  72. oM.makeMenu("","top5",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View user News',"./../news/usernews.php",'',150)
  73. oM.makeMenu("","top5",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Add new user news entry',"./../news/usernews.php?do=new",'',150)
  74. oM.makeMenu('top6','', '<img src="./../../images/tech/pribut060.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Resources','#','',96,23)
  75. oM.makeMenu("","top6",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Bookmarks',"./../resources/bookmarks.php",'',150)
  76. oM.makeMenu("","top6",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Notes',"./../resources/notes.php",'',150)
  77. oM.makeMenu("","top6",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Files',"./../resources/files.php",'',150)
  78. oM.makeMenu("","top6",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Folders',"./../resources/folders.php",'',150)
  79. oM.makeMenu('top7','', '<img src="./../../images/tech/pribut070.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Reports','../reports/index.php','',81,23)
  80. oM.makeMenu('top8','', '<img src="./../../images/tech/pribut080.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Settings','#','',82,23)
  81. oM.makeMenu("","top8",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>General Settings',"./../settings/index.php",'',120)
  82. oM.makeMenu("","top8",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Category Settings',"./../settings/categories.php",'',120)
  83. oM.makeMenu("","top8",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Email Settings',"./../settings/email.php",'',120)
  84. oM.makeMenu("","top8",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Alerts',"./../settings/alerts.php",'',120)
  85. oM.makeMenu("","top8",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Ticket Display',"./../settings/ticketdisplay.php",'',120)
  86. oM.makeMenu('top9','', '<img src="./../../images/tech/pribut090.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>FAQ','#','',59,23)
  87. oM.makeMenu("","top9",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>View FAQ',"./../faq/index.php",'',150)
  88. oM.makeMenu("","top9",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>New Article',"./../faq/view.php?do=add",'',150)
  89. oM.makeMenu("","top9",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>New Category',"./../faq/category.php?do=add",'',150)
  90. oM.makeMenu("","top9",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Validate Articles',"./../faq/validate.php",'',150)
  91. oM.makeMenu("","top9",'<img src="./../../images/tech/bul088.gif" width="5" height="5" border="0"  id="pribut050" vspace=1 hspace=5>Read Comments',"./../faq/comments.php",'',150)
  92. oM.makeMenu('top10','', '<img src="./../../images/tech/pribut100.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Help','./../help/index.php','',60,23)
  93. oM.construct()