?? taskmenu.jsp
字號(hào):
<%@ page contentType="text/html;charset=gb2312" %>
<html>
<head>
<script src="TaskMenu.js"></script>
<script>
var taskMenu1;
var taskMenu2;
var taskMenu3;
var taskMenu4;
TaskMenu.setStyle("Silver/silverStyle.css");
window.onload = function()
{
TaskMenu.setHeadMenuSpecial(true);
//TaskMenu.setScrollbarEnabled(true);
//TaskMenu.setAutoBehavior(false);
//////////////////////////////////////////////// ////////////////////////////////////////////////
taskMenu1 = new TaskMenu("用戶管理");
item1 = new TaskMenuItem("新增管理用戶","Image/friends.gif","parent.window.frames[1].location.href='addUser.jsp'");
item2 = new TaskMenuItem("修改自己密碼","Image/friends.gif","parent.window.frames[1].location.href='updateUser.jsp'");
item18 = new TaskMenuItem("刪除管理員","Image/friends.gif","parent.window.frames[1].location.href='deleteUser.jsp'");
item5 = new TaskMenuItem("退出后臺(tái)管理","Image/friends.gif","parent.window.location.href='logoOut.jsp'");
taskMenu1.add(item1);
taskMenu1.add(item2,1);
taskMenu1.add(item18,1);
taskMenu1.add(item5);
taskMenu1.init();
taskMenu2 = new TaskMenu("查找商品信息");
item3 = new TaskMenuItem("具體查找商品信息","Image/list.gif","parent.window.frames[1].location.href='selectPro.jsp'");
taskMenu2.add(item3);
taskMenu2.init();
taskMenu3 = new TaskMenu("商品信息管理");
item6 = new TaskMenuItem("增加新商品","Image/rar.gif","parent.window.frames[1].location.href='addProduct.jsp'");
item8 = new TaskMenuItem("調(diào)整商品信息","Image/BD14581_.gif","parent.window.frames[1].location.href='updateProduct.jsp'");
taskMenu3.add(item6);
taskMenu3.add(item8);
taskMenu3.init();
taskMenu4 = new TaskMenu("定單管理");
item10 = new TaskMenuItem("查看定單","Image/copy.gif","parent.window.frames[1].location.href='showOrders.jsp'");
taskMenu4.add(item10);
taskMenu4.init();
taskMenu5 = new TaskMenu("幫助信息");
item12 = new TaskMenuItem("增加幫助信息","Image/copy.gif","parent.window.frames[1].location.href='addHelp.jsp'");
item13 = new TaskMenuItem("信息瀏覽","Image/BD14581_.gif","parent.window.frames[1].location.href='showHelp.jsp'");
taskMenu5.add(item12);
taskMenu5.add(item13);
taskMenu5.init();
taskMenu1._refreshAll();
}
</script>
</head>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -