?? banner.jsp
字號:
<%--
% Copyright 2001 Sun Microsystems, Inc. All rights reserved.
% Copyright 2001 Sun Microsystems, Inc. Tous droits r閟erv閟.
--%>
<%--
% The banner to be displayed at the top of each screen. This
% includes the site logo, search, category navigation bar etc.
--%>
<jsp:useBean
id="user"
class="com.sun.j2ee.workflow.control.web.UserBean"
scope="session"
/>
<%@ include file="mouseover.js" %>
<script language="JavaScript">
<!--
// load all our images here
if (document.images) {
img_help_off = new Image();
img_help_off.src = '<%= request.getContextPath() %>/images/help.gif';
img_help_on = new Image();
img_help_on.src = '<%= request.getContextPath() %>/images/helpHL.gif';
img_signin_off = new Image();
img_signin_off.src = '<%= request.getContextPath() %>/images/sign-in.gif';
img_signin_on = new Image();
img_signin_on.src = '<%= request.getContextPath() %>/images/sign-inHL.gif';
img_signout_off = new Image();
img_signout_off.src = '<%= request.getContextPath() %>/images/sign-out.gif';
img_signout_on = new Image();
img_signout_on.src = '<%= request.getContextPath() %>/images/sign-outHL.gif';
img_search_off = new Image();
img_search_off.src = '<%= request.getContextPath() %>/images/search.gif';
img_search_on = new Image();
img_search_on.src = '<%= request.getContextPath() %>/images/searchHL.gif';
img_myaccount_off = new Image();
img_myaccount_off.src = '<%= request.getContextPath() %>/images/my_account.gif';
img_myaccount_on = new Image();
img_myaccount_on.src = '<%= request.getContextPath() %>/images/my_accountHL.gif';
img_reptiles_off = new Image();
img_reptiles_off.src = '<%= request.getContextPath() %>/images/reptiles.gif';
img_reptiles_on = new Image();
img_reptiles_on.src = '<%= request.getContextPath() %>/images/reptilesHL.gif';
}
// -->
</script>
<table width="100%" cellspacing="0" border="0"
background="<%=request.getContextPath()%>/images/wfbg2.gif">
<tr>
<td>
<a href="main"><image src="<%=request.getContextPath()%>/images/workflowlogo.gif" border="0"></a>
</td>
<td align="right">
<%
if(user!=null)
{
if (!user.isLoggedIn()) {
%>
<a href="<%=request.getContextPath()%>/control/signin" onmouseover="img_on('signin')" onmouseout="img_off('signin')"><img src="<%=request.getContextPath()%>/images/sign-in.gif" border="0" name="img_signin"></a><font size="2">Sign In</font>
<% } else{ %>
<a href="<%=request.getContextPath()%>/control/signout" onmouseover="img_on('signout')" onmouseout="img_off('signout')"><img src="<%=request.getContextPath()%>/images/sign-out.gif" border="0" name="img_signout"></a><font size="2">Sign Out</font>
<a href="<%=request.getContextPath()%>/control/manageuser" onmouseover="img_on('myaccount')" onmouseout="img_off('myaccount')"><img src="<%=request.getContextPath()%>/images/my_account.gif" border="0" name="img_myaccount"></a><font size="2">Account</font>
<% }
}%>
<a href="<%=request.getContextPath()%>/control/help" onmouseover="img_on('help')" onmouseout="img_off('help')"><img src="<%=request.getContextPath()%>/images/help.gif" border="0" name="img_help"></a><font size="2">Help</font>
</td>
<td align="right">
<form action="<%=request.getContextPath()%>/control/search">
<br>
<input type="text" size="10" name="search_text">
<input type="image" border="0"
src="<%=request.getContextPath()%>/images/search.gif"
name="search">
</form>
</td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -