menu.js
上传用户:gzy2002
上传日期:2010-02-11
资源大小:1785k
文件大小:10k
- // *** SPECIAL NOTE *** To enable vertical menus, alter the value below
- // labelled oM.level[0].rows=1, changing the 1 to a zero. This *can* cause
- // display problems though, depending on your browser.
- var oM=new makeCM("oM")
- oM.pxBetween=0
- oM.fromTop=4
- oM.fromLeft=-1
- oM.menuPlacement=""
- //New properties in 4.06 - Set to open and/or close the menu onclick
- oM.closeOnClick=1
- // Change this value (in milliseconds) to control how long the menus
- // stay visible after a mouse-out event.
- oM.wait=1000
- oM.zIndex=0
- oM.resizeCheck=1
- oM.onlineRoot=""
- oM.offlineRoot=""
- oM.fillImg="./../../images/tech/spacer.gif"
- oM.rows=1
- //Background bar properties
- oM.useBar=0
- oM.level[0]=new cm_makeLevel()
- oM.level[0].width=200
- oM.level[0].height=23
- oM.level[0].regClass="clNormal"
- oM.level[0].overClass="clHover"
- oM.level[0].borderX=1
- oM.level[0].borderY=0
- oM.level[0].borderClass="clB"
- // Change oM.level[0].rows=1 to oM.level[0].rows=0 to enable vertical menus
- oM.level[0].rows=1
- oM.level[0].offsetX=0
- oM.level[0].offsetY=21
- oM.level[0].arrow=0
- oM.level[0].arrowWidth=0
- oM.level[0].arrowHeight=0
- oM.level[1]=new cm_makeLevel()
- oM.level[1].regClass="cl2Normal"
- oM.level[1].overClass="cl2Hover"
- oM.level[1].width=69
- oM.level[1].height=16
- oM.level[1].borderClass="cl2B"
- oM.level[1].borderX=1
- oM.level[1].borderY=1
- oM.makeMenu('top1','', '<img src="./../../images/tech/pribut010.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Tickets','','',74,23)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- oM.makeMenu('top3','', '<img src="./../../images/tech/pribut030.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Teamwork','#','',95,23)
- 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)
- 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)
- 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)
- oM.makeMenu('top4','', '<img src="./../../images/tech/pribut040.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Users','#','',67,23)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- oM.makeMenu('top5','', '<img src="./../../images/tech/pribut050.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>News','#','',66,23)
- 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)
- 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)
- 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)
- 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)
- oM.makeMenu('top6','', '<img src="./../../images/tech/pribut060.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Resources','#','',96,23)
- 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)
- 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)
- 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)
- 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)
- 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)
- oM.makeMenu('top8','', '<img src="./../../images/tech/pribut080.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>Settings','#','',82,23)
- 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)
- 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)
- 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)
- 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)
- 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)
- oM.makeMenu('top9','', '<img src="./../../images/tech/pribut090.gif" width="16" height="16" border="0" align="top" id="pribut050" hspace=5>FAQ','#','',59,23)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- oM.construct()