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

📄 top.jsp

📁 一个完整的门户网站,基于JSP环境下开发的,使用SQL数据库.
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.Collection" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="com.bwm.core.BasetableFactory" %>
<%@ page import="com.bwm.model.*" %>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<script language="JavaScript">
function popUp(menu) {
newX = window.event.x + document.body.scrollLeft
newY = window.event.y + document.body.scrollTop
  if ( menu.style.display == ""){
    menu.style.display = "none" }
  else {
    menu.style.display = ""}
    menu.style.pixelLeft = newX-5
    menu.style.pixelTop =  newY-5
}
function popmenu(menu) {
  if ( menu.style.display == ""){
    menu.style.display = "none" }
  else {
    menu.style.display = ""}
}
function pu(e){
cc=e.srcElement;
cc.style.background="#eeeeee";
}
function po(e){
cc=e.srcElement;
cc.style.background="";
}
</script>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<%BasetableFactory bf=BasetableFactory.getInstance();%>
<table id="cpdd" class='box'  style='display:none' onMouseOver="popmenu(this)" onMouseOut="popmenu(this)"  align="center" > 
  <%Collection cpdd=bf.ListSsort("");if(cpdd!=null&&cpdd.size()>0){    Iterator it=cpdd.iterator();    while(it.hasNext()){        Ssort s=(Ssort)it.next();
%> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../list_softsort.jsp?sid=<%=s.getSid()%>';" style="cursor:hand; color:#000000"><%=s.getName()%></td> 
  </tr>   <%}}%> 
</table> 
<table id="jjfa" class='box'  style='display:none' onMouseOver="popmenu(this)" onMouseOut="popmenu(this)" align="center"> 
  <%Collection jjfa=bf.ListResolvent("");
if(cpdd!=null&&jjfa.size()>0){    Iterator it=jjfa.iterator();
    while(it.hasNext()){        Resolvent s=(Resolvent)it.next();%> 
  <tr> 
    <td  onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../resolvent.jsp?rid=<%=s.getRid()%>';" style="cursor:hand; color:#000000"><%=s.getName()%></td> 
  </tr>   <%}}%> 
</table> 
<table id="jszc" class='box'  style='display:none' onMouseOver="popmenu(this)" onMouseOut="popmenu(this)"  align="center"> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../question.jsp';" style="cursor:hand; color:#000000">常见问题</td> 
  </tr> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../tools.jsp?action=tool';" style="cursor:hand; color:#000000">工具下载</td> 
  </tr> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../tools.jsp?action=mend';" style="cursor:hand; color:#000000">补丁下载</td> 
  </tr> 
</table> 
<table id="khqd" class='box'  style='display:none' onMouseOver="popmenu(this)" onMouseOut="popmenu(this)" align="center"> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../user_reg.jsp';" style="cursor:hand; color:#000000">用户注册</td> 
  </tr> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../user_logon.jsp';" style="cursor:hand; color:#000000">用户登录</td> 
  </tr> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../user_update.jsp';" style="cursor:hand; color:#000000">用户修改</td> 
  </tr> 
  <tr> 
    <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../list_guestboard.jsp';" style="cursor:hand; color:#000000">留言簿</td> 
  </tr> 
</table> 
<table width="778" height="148"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="206" height="63"><img src="../images/index_01.gif" width="280" height="63"></td>
    <td background="../images/index_02.gif">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td width="30" height="22" align="center" valign="middle"><img src="../images/index_separate.gif" width="2" height="47"></td> 
    <td align="center"><a href="../index.jsp">首页<br>Index</a></td> 
    <td width="30" align="center" valign="middle"><img src="../images/index_separate.gif" width="2" height="47"></td> 
    <td align="center"><a onMouseOver="popUp(cpdd)" onMouseOut="popUp(cpdd)">产品地带<br>Product</a></td> 
    <td width="30" align="center" valign="middle"><img src="images/index_separate.gif" width="2" height="47"></td> 
    <td align="center"> <a onMouseOver="popUp(jjfa)" onMouseOut="popUp(jjfa)">解决方案<br>Scheme</a> </td> 
    <td width="30" align="center" valign="middle"><img src="images/index_separate.gif" width="2" height="47"></td> 
    <td align="center"> <a onMouseOver="popUp(jszc)" onMouseOut="popUp(jszc)">技术支持<br>Instructor </a></td> 
    <td width="30" align="center" valign="middle"><img src="images/index_separate.gif" width="2" height="47"></td> 
    <td align="center"> <a onMouseOver="popUp(khqd)" onMouseOut="popUp(khqd)">客户渠道<br>channel</a>      </td> 
    <td width="30" align="center" valign="middle"><img src="images/index_separate.gif" width="2" height="47"></td> 
    <td align="center"><a href="../forum/index.jsp">论坛<br>forum</a></td> 
  </tr> 
</table>	</td>
  </tr>
  <tr valign="top">
    <td height="178" colspan="2" background="../images/index_04.gif"><table width="100%" height="43"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="46%" height="43" class="word_white" id="bgclock">&nbsp;&nbsp;</td>
        <td width="15%"><a href="#" class="word_white" onclick="this.style.behavior='url(#default#homepage)';this.sethomepage('htttp://www.mingrisoft.com')">设为首页</a></td>
        <td width="15%"><a href="JavaScript:window.external.AddFavorite('Http://www.mingrisoft.com','明日科技')"  class="word_white">收藏本站</a></td>
        <td width="14%"><a href="mailto:mingrisoft@mingrisoft.com" class="word_white">联系我们</a></td>
        <td width="10%"><a href="http://www.mingrisoft.com" class="word_white">关于</a></td>
      </tr>
    </table></td>
  </tr>
</table> 

⌨️ 快捷键说明

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