【JSP开源代码栏目提醒】:网学会员在JSP开源代码频道为大家收集整理了1top.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.*" %>
<style>
.box { font: 9pt "宋体"; position: absolute; border:1px solid;" }
</style>
<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/admin.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 align="center" 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 align="center" 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 align="center" onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../question.jsp';" style="cursor:hand; color:#000000">常见问题</td>
</tr>
<tr>
<td align="center" onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../tools.jsp?action=tool';" style="cursor:hand; color:#000000">工具下载</td>
</tr>
<tr>
<td align="center" 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)" width="100" align="center">
<tr>
<td align="center" onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../user_reg.jsp';" style="cursor:hand; color:#000000">用户注册</td>
</tr>
<tr>
<td align="center" onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../user_logon.jsp';" style="cursor:hand; color:#000000">用户登录</td>
</tr>
<tr>
<td align="center" onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../user_update.jsp';" style="cursor:hand; color:#000000">用户修改</td>
</tr>
<tr>
<td align="center" onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='../list_guestboard.jsp';" style="cursor:hand; color:#000000">留言簿</td>
</tr>
</table>
<table width="760" height="80" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td><img src="../images/top.gif" width="760" height="114"></td>
</tr>
</table>
<table width="760" height="52" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/bar.gif">
<tr>
<td width="30" height="22" align="center"><img src="../images/222_7.gif"></td>
<td align="center"><a href="../index.jsp" class="whilelink" >首页</a></td>
<td width="30" align="center"><img src="../images/222_7.gif"></td>
<td align="center"><a class="whilelink" onMouseOver="popUp(cpdd)" onMouseOut="popUp(cpdd)">产品地带</a> </td>
<td width="30" align="center"><img src="../images/222_7.gif"></td>
<td align="center"> <a class="whilelink" onMouseOver="popUp(jjfa)" onMouseOut="popUp(jjfa)">解决方案</a> </td>
<td width="30" align="center"><img src="../images/222_7.gif"></td>
<td align="center"> <a class="whilelink" onMouseOver="popUp(jszc)" onMouseOut="popUp(jszc)">技术支持</a> </td>
<td width="30" align="center"><img src="../images/222_7.gif"></td>
<td align="center"> <a class="whilelink" onMouseOver="popUp(khqd)" onMouseOut="popUp(khqd)">客户渠道 </a></td>
<td width="30" align="center"><img src="../images/222_7.gif"></td>
<td align="center"><a href="index.jsp" class="whilelink">论坛</a> </td>
</tr>
<tr>
<td colspan="12"> </td>
</tr>
</table>
上一篇:
1.jsp
下一篇:
法律专业开题报告范文