日期:2014-05-16 浏览次数:20696 次
<tr>
<td align="left" width="15%"><input type="checkbox" checked="checked" name="dwg_select" id="ck_dwg" value="<%=dwg & "/" & rev %>" /><%=dwg & "/" & rev %></td>
<td align="left" width="15%" onmouseover="show('iframe_<%=isse%>');this.style.color = 'red';" onmouseout="hidden('iframe_<%=isse%>');this.style.color = 'black';"><%=isse%></td>
<td align="left" width="0%" onmouseover="show('iframe_<%=isse%>');" onmouseout="hidden('iframe_<%=isse%>');"><iframe id="iframe_<%=isse%>" src="pgisse.asp?isse_no=<%=isse%>&s_change_ago=<%=s_change_ago1%>" frameBorder=1 style="HEIGHT: 500px; LEFT: 750px; POSITION: absolute; TOP: 300px; WIDTH: 830px; display:none" ></iframe></td>
</tr>
function show(iframeID){
document.getElementById(iframeID).style.display="block"; //层隐藏和显示
}
function hidden(iframeID){
document.getElementById(iframeID).style.display="none";
}
<tr>
<td align="left" width="15%"><input type="checkbox" checked="checked" name="dwg_select" id="ck_dwg" value="<%=dwg & "/" & rev %>" /><%=dwg & "/" & rev %></td>
<td align="left" width="15%" onmouseover="show('iframe_<%=isse%>',this);this.style.color = 'red';" onmouseout="hidden('iframe_<%=isse%>');this.style.color = 'black';"><%=isse%></td>
<td align="left" width="0%" onmouseover="show('iframe_<%=isse%>');" onmouseout="hidden('iframe_<%=isse%>');"><iframe id="iframe_<%=isse%>" src="pgisse.asp?isse_no=<%=isse%>&s_change_ago=<%=s_change_ago1%>" frameBorder=1 style="HEIGHT: 500px; LEFT: 750px; POSITION: absolute; TOP: 300px; WIDTH: 830px; display:none" ></iframe></td>
</tr>
<script>
function show(iframeID, td) {
var tr = td.parentNode
if (!tr.cells[2]) {
td = tr.insertCell(2);
td.innerHTML = '<iframe id="iframe_<%=isse%>" src="pgisse.asp?isse_no=<%=isse%>&s_change_ago=<%=s_change_ago1%>" frameBorder=1 style="HEIGHT: 500px; LEFT: 750px; POSITION: absolute; TOP: 300px; WIDTH: 830px;" ></iframe>';
td.onmouseover = function () { show('iframe_<%=isse%>'); }
&nb