打開新窗口

         <%
if not rs.eof then
do while not rs.eof
%> <td >  
                                          <tr>
                                            <td height="18">&nbsp;&nbsp;<font color="#51587B">●</font>&nbsp;
           <a href="javascript:void(0);" onClick="javascript:window.open('KwInfo.asp?id=<%=rs("id")%>','','width=600,scrollbars=yes,toolbar=no,directories=no,menubar=no')"><%=rs("title")%>&nbsp;&nbsp;<%=rs("time")%>&nbsp;</a> <br>
        
                                                <%if rs("time")=date() then%>

                                                <strong><font color="#FF0000" face="Arial">New</font></strong>
                                                <%end if%>
                                            </td>
                                          </tr>
                                          <%
i=i+1
if i >= Perpage then exit do
rs.movenext
loop
end if
%>

原文地址:https://www.cnblogs.com/fuyingke/p/118474.html