⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 taskmenu.jsp

📁 持久层hibernate技术使用的一个例子
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" %>
<html>
<head>
<script src="/js/TaskMenu.js"></script>
<script>
var taskMenu1;
var taskMenu2;
var taskMenu3;
var taskMenu4;

var item1;
var item2;
var item3;
var item4;
var item5;
var item6;
var item7;
var item8;
TaskMenu.setStyle("css/Blue/BlueStyle.css"); 

window.onload = function()
{
	TaskMenu.setHeadMenuSpecial(true);
	//TaskMenu.setScrollbarEnabled(true);
	//TaskMenu.setAutoBehavior(false);
	////////////////////////////////////////////////
	item1 = new TaskMenuItem("个人资料管理","img/demo.gif","parent.window.frames[2].location.href='/U03StudentFind.do?us=find'");
	item2 = new TaskMenuItem("管理我的blog","img/api.gif","parent.window.frames[2].location.href='/U02E2.do'");
	item3 = new TaskMenuItem("班级详细信息","img/copy.gif","parent.window.frames[2].location.href='F4.htm'");
	item4 = new TaskMenuItem("班级留言板","img/friends.gif","parent.window.frames[2].location.href='E1.htm'");
	item5 = new TaskMenuItem("最新作业","img/dload.gif","parent.window.frames[2].location.href='F30.htm'");
	item6 = new TaskMenuItem("以往作业查询","img/update.gif","parent.window.frames[2].location.href='F31.htm'");
	item7 = new TaskMenuItem("近期考试","img/update.gif","parent.window.frames[2].location.href='D214.htm'");
	item8 = new TaskMenuItem("以往试卷查询","img/update.gif","parent.window.frames[2].location.href='D213.htm'");
	item9 = new TaskMenuItem("成绩查询","img/update.gif","parent.window.frames[2].location.href='F20.htm'");
	item10 = new TaskMenuItem("在线考试","img/update.gif","parent.window.frames[2].location.href='D212.do'");
	item11 = new TaskMenuItem("考勤记录查询","img/update.gif","parent.window.frames[2].location.href='D64.htm'");

	////////////////////////////////////////////////
	taskMenu1 = new TaskMenu("个人管理");
	taskMenu1.add(item1);
	taskMenu1.add(item2);
	taskMenu1.setBackground("img/bg.gif");
	taskMenu1.init();
	taskMenu2 = new TaskMenu("我的班级");
	taskMenu2.add(item3);
	taskMenu2.add(item4);
	taskMenu2.add(item11);
	taskMenu2.init();
	taskMenu3 = new TaskMenu("作业系统");
	taskMenu3.add(item5);
	taskMenu3.add(item6);
	taskMenu3.init();
	taskMenu4 = new TaskMenu("考试系统");
	taskMenu4.add(item7);
	taskMenu4.add(item8);
	taskMenu4.add(item9);
	taskMenu4.add(item10);
	taskMenu4.init();
}
</script>
</head>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -