|
主题: 公告:请高手帮我我我呀
|
 楚楚
职务:普通成员
等级:1
金币:1.0
发贴:187
注册:2002/5/21 9:05:18
|
#12002/10/17 15:54:41
我需要点击后打开一个自定义窗口。 但是这是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+"" javastr=javastr+" <%if rs("selectpic") = 1 then%>[图文]<%end if%>&path=<%=rs("path")%>&filename=<%=rs("N_Fname")%>\") target=\"_blank\" ><%=rs("title")%>(已传阅:<%=rs("hits")%>)" 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%> 怎样才能做到点击后打开一个自定义窗口?
|