📄 wizard.jsp
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>开源项目流程向导</title>
<style type="text/css">
<!--
#infoDiv
{
position:absolute;
left:276px;
top:378px;
width:493px;
height:30px;
z-index:1;
visibility: hidden;
background:#F5F7F7;
border:1px solid #CCCCCC;
padding:5px;
font-size:12px;
}
-->
</style></head><body> <div style="font-size:16px;color:#FF9900;margin:15px 10px;font-weight:bold;text-align:left;cursor:hand;"><img src="<%=request.getContextPath()%>/view_admin/images/xdl.png" alt="快速建站流程"/> 快速建站流程</div>
<div style="border-top:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC;background:#f9f9f9;text-align:center;padding:20px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="62%"><img style="position:static" id="ksjzImg" src="<%=request.getContextPath()%>/view_admin/images/ksjz.png" alt="" border="0" usemap="#Map"/></td>
<td width="38%" valign="top">
<p style="font-size:12px;cursor:hand">流程向导说明图</p>
<p> </p>
</td>
</tr>
</table>
</div>
<br>
<div id="infoDiv"></div>
<script type="text/javascript">
<!--
var infoArray = new Array();
infoArray["站点群"] = {caption:"站点群", notes:"CGWCM系统支持多个站点群,每个站点群中允许建立多个站点。除了用户管理以外,都是从站点群开始操作的。"};
infoArray["站点"] = {caption:"站点", notes:"CGWCM系统中的 栏目、模板、可下载的附件等等,都是放置在站点中的,所以必须先有站点,然后才能进行栏目、模板等的管理。然而站点必须归属于某一个站点群,所以建立站点之前必须建立站点群。"};
infoArray["栏目"] = {caption:"", notes:"在CGWCM系统中,众多栏目组成为一个站点。发布栏目时要将栏目关联到CGRS库,并绑定到模板。"};
infoArray["CGRS库"] = {caption:"", notes:"CGRS库为栏目提供数据"};
infoArray["模板"] = {caption:"", notes:"模板的作用是显示站点和栏目的信息"};
infoArray["上传模板文件"] = {caption:"", notes:"制作好模板后,需要将模板上传到服务器"};
infoArray["设置首页模板"] = {caption:"", notes:"将站点首页绑定一个模板"};
infoArray["设置标题页"] = {caption:"", notes:"将层次比较高的栏目绑定到模板"};
infoArray["设置文章页"] = {caption:"", notes:"将显示具体内容的栏目绑定到模板"};
infoArray["角色"] = {caption:"", notes:"角色决定用户的权限,用户可以拥有多个角色"};
infoArray["用户"] = {caption:"", notes:"使用CGWCM的人"};
infoArray["机构"] = {caption:"", notes:"用户可以归属到机构里。"};
infoArray["授权"] = {caption:"", notes:"对于某个资源(站点、栏目),可以授予某个角色拥有某个权限"};
infoArray["控制台"] = {caption:"", notes:"进入登录入口"};
//显示说明文本
function showInfo(obj, titleIndex)
{
var position = obj.coords;
var positions = position.split(",");
var x = document.body.scrollLeft;
var y = document.body.scrollTop;
var messageDiv = infoArray[titleIndex].notes;
var infoDiv = getInfoDiv();
infoDiv.innerText = messageDiv;
infoDiv.style.left = getDim(getImg()).x + Number(positions[2]);
infoDiv.style.top = getDim(getImg()).y + Number(positions[3]);
infoDiv.style.visibility = 'visible';
}
//获取显示说明的div
function getInfoDiv()
{
return document.getElementById('infoDiv');
}
//获取快速建站流程图元素
function getImg()
{
return document.getElementById('ksjzImg');
}
//获取页面元素(即显示说明的div)的坐标(左上角的坐标)
function getDim(imgPos)
{
var pos = {x:0, y:0};
do
{
pos.x += imgPos.offsetLeft;//获取对象相对于上级(父)对象的位置坐标
pos.y += imgPos.offsetTop;
imgPos = imgPos.offsetParent;//上传到上级(父)对象
}
while(imgPos);
return pos;
}
//隐藏显示说明的div
function hiddenInfoDiv()
{
var infoDiv = getInfoDiv();
if(infoDiv.style.visibility == 'visible')
{
infoDiv.style.visibility = 'hidden';
}
}
function winOpen(url)
{
window.open('<%=request.getContextPath()%>' + url);
}
//-->
</script>
<map name="Map">
<area shape="rect" coords="207, 203, 259, 266" href="javascript:void(0);" onMouseOver="showInfo(this, '站点');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="202, 329, 257, 386" href="javascript:void(0);" onMouseOver="showInfo(this, '栏目');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="194, 450, 267, 510" href="javascript:void(0);" onMouseOver="showInfo(this, 'CGRS库');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="476, 324, 521, 386" href="javascript:void(0);" onMouseOver="showInfo(this, '模板');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="461, 208, 525, 262" href="javascript:void(0);" onMouseOver="showInfo(this, '上传模板文件');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="325, 274, 395, 306" href="javascript:void(0);" onMouseOver="showInfo(this, '设置首页模板');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="326, 335, 395, 368" href="javascript:void(0);" onMouseOver="showInfo(this, '设置标题页');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="326, 399, 396, 431" href="javascript:void(0);" onMouseOver="showInfo(this, '设置文章页');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="108, 166, 150, 224" href="javascript:void(0);" onMouseOver="showInfo(this, '角色');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="54, 161, 93, 225" href="javascript:void(0);" onMouseOver="showInfo(this, '用户');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="9, 159, 40, 227" href="javascript:void(0);" onMouseOver="showInfo(this, '机构');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="98, 279, 149, 331" href="javascript:void(0);" onMouseOver="showInfo(this, '授权');" onMouseOut="hiddenInfoDiv();">
<area shape="rect" coords="202, 81, 253, 152" href="javascript:void(0);" onMouseOver="showInfo(this, '站点群');" onMouseOut="hiddenInfoDiv();">
<area shape="default" coords="6, 7, 541, 33" href="javascript:void(0);" onClick="javascript:winOpen('/view_admin/login_index.jsp');" onMouseOver="showInfo(this, '控制台');" onMouseOut="hiddenInfoDiv();">
</map></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -