在jsp页面中的使用:
<!-- 悬浮窗口 -->
<div id="<%="fd"+k %>" class="fd" style="display:none;filter:alpha(opacity=100);opacity:1;">
<div class="contentup">
<div>
<table width="600" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td align="left" width="50%" height="10"> </td>
<td align="right" width="50%"> </td>
</tr>
<tr>
<td align="left" width="50%"><b><%=StringUtil.opritStr(ctOffices.getOfficesName()) %>--详细信息</b></td>
<td align="right" width="50%"><a href="#" class="od" onclick = "closeed('<%="fd"+k %>');return false;"> 关 闭 </a></td>
</tr>
<tr>
<td align="left" width="100%" colspan="2"><hr color="blue"></td>
</tr>
</table>
</div>
<div>
<table width="600" border="0" cellpadding="0" cellspacing="0" class="table1">
<tr>
<td align="center" class="td3" width="15%">高级职称人数:</td>
<td align="left" class="td3" width="35%">
<%=ctOffices.getSeniorCount()==null?" ":ctOffices.getSeniorCount() %>
</td>
<td align=center class="td3" width="15%">硕士生导师人数:</td>
<td align="left" class="td3" width="35%">
<%=ctOffices.getDegreeCount()==null?" ":ctOffices.getDegreeCount() %>
</td>
</tr>
<tr>
<td align="center" class="td3" width="15%">床位数:</td>
<td align="left" class="td3" width="35%">
<%=ctOffices.getBedCount()==null?" ":ctOffices.getBedCount() %>
</td>
<td align=center class="td3" width="15%">博士生导师人数:</td>
<td align="left" class="td3" width="35%">
<%=ctOffices.getDoctorCount()==null?" ":ctOffices.getDoctorCount() %>
</td>
</tr>
<tr>
<td align="center" class="td3" width="15%">常见病:</td>
<td colspan=3 align="left" class="td3 content" width="35%">
<%=ctOffices.getDisease()==null?" ":ctOffices.getDisease() %>
</td>
</tr>
<tr>
<td align=center class="td3" width="15%">简介:</td>
<td colspan=3 align="left" class="td3 content" width="35%">
<%=ctOffices.getIntroduction()==null?" ":ctOffices.getIntroduction() %>
</td>
</tr>
</table>
</div>
</div>
</div>
js文件css文件:
http://www.blogjava.net/Files/1504/div.rar