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

📄 index2.jsp

📁 一个实现邮件收发功能的客户端程序
💻 JSP
字号:
<%@ page contentType="text/html; charset=utf-8" session="true" errorPage="frame_user_error.jsp" %>
<%@ include file="validate.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>收发邮件</TITLE>
<LINK rel="stylesheet" type="text/css" href="css/style.css">
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<script type="text/javascript">
<!--
function mouseClick(tr,url,newimg) {
	try {
		for(var i=0;i<tbl_ycyp.cells.length;i++) {
			if(tbl_ycyp.cells[i]!=tr) {
				tbl_ycyp.cells[i].className='trnormal1';
			}
		}
		tr.className='trselect1';
		mailtitle.src=newimg;
		mainFrame.location.replace(url+"&"+Math.random());
	}
	catch(e) {
		alert("数据加载中,请稍后.");
	}
}
function setStyle(boxid) {
	var newimg="";
	switch(boxid) {
		case 0:
			newimg="images/inbox.gif";
			break;
		case 1:
			newimg="images/drafts.gif";
			break;
		case 2:
			newimg="images/sent.gif";
			break;
		case 3:
			newimg="images/trash.gif";
			break;
	}
	for(var i=0;i<tbl_ycyp.cells.length;i++) {
		if(i!=boxid) {
			tbl_ycyp.cells[i].className='trnormal1';
		}
		else {
			tbl_ycyp.cells[i].className='trselect1';
		}
	}
	mailtitle.src=newimg;
}
//-->
</script>
<META name=GENERATOR content="MSHTML 6.00.6001.17184">
</HEAD>
<BODY style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" scroll="no">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" height="100%">
   <tr align="center">
    <td height="1%">
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" 
background="images/topblue-bk.gif">
  <TBODY>
  <TR height="50">
    <TD width="3%"><IMG hspace=5 src="images/inbox.gif" id="mailtitle"></TD>
    <TD width="97%">
      <TABLE border=0 cellSpacing=0 cellPadding=0 width="50%">
        <TBODY>
        <TR>
          <TD width="28%" align=right><IMG src="images/gray-left.gif" 
            width=4 height=22></TD>
          <TD background="images/gray-bk.gif" width="70%">
            <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" id="tbl_ycyp">
              <TBODY>
              <TR align=middle>
                <TD noWrap class="trselect1" onclick="mouseClick(this,'list.jsp?box=inbox','images/inbox.gif')" style="cursolr:hand;" id="inbox">
				收件箱
				</TD>
                <TD noWrap class="trnormal1" onclick="mouseClick(this,'list.jsp?box=draftbox','images/drafts.gif')" style="cursolr:hand;" id="draftbox">
				草稿箱
				</TD>
                <TD noWrap class="trnormal1" onclick="mouseClick(this,'list.jsp?box=sendbox','images/sent.gif')" style="cursolr:hand;" id="sendbox">
				已发送
				</TD>
                <TD noWrap class="trnormal1" onclick="mouseClick(this,'list.jsp?box=delbox','images/trash.gif')" style="cursolr:hand;" id="delbox">
				废件箱
				</TD>
                </TR></TBODY></TABLE></TD>
          <TD width="2%"><IMG src="images/gray-right.gif" width=4 
            height=22></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
    </td>
  </tr>
<td>
      <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" bgcolor="#CFE9EE">
<!--         <tr>
          <td valign="top" colspan="2">组织架构管理</td>
        </tr> -->
<!--         <tr>
          <td valign="top" colspan="2" height="2" bgcolor="#CFE9EE">&nbsp;</td>
        </tr> -->
        <tr>
          <td valign="top" colspan="2" width="100%">
          <iframe name="mainFrame" width="100%" height="100%" src="list.jsp?box=inbox" border="0" frameborder="0" marginwidth="0" marginheight="0" NORESIZE="NORESIZE" SCROLLING="NO">
          </iframe></td>
        </tr>
      </table>
</td>
</tr>
</table>
</BODY></HTML>

⌨️ 快捷键说明

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