我需要点击后打开一个自定义窗口。
但是这是ASP文件,尝试无数次不成功。
请高手一定帮忙。先谢谢了。
是这样的:
看这一页:
www.iuyes.com/news/1.htm点击下面的那条新闻:需要打开自定义窗口呀
打开的是普通窗口。
由于是调用的ASP文件:(如下)
javastr=""
javastr=javastr+""
<%newstype=request("typeid")
n=request("n")
if newstype<> "" then
sql="select * from article where shenghe=1 and typeid="+cstr(newstype)+" order by dateandtime desc"
set rs=conn.execute(sql)%>
<%
do while not rs.eof
%>
javastr=javastr+""
<%n=n-1
if n<1 then exit do
rs.movenext
loop
%>
<% if n<1 then %>
javastr=javastr+"
&sss=<%=rs("typename")%>\"> - 更多新闻"
<% end if %>
<%rs.close
set rs=nothing
conn.close
set conn=nothing%>
document.write (javastr)
<%else%>
document.write ("对不起,暂时没有任何内容。")
<%end if%>
怎样才能做到点击后打开一个自定义窗口?