仰望大树作文:javascript+asp动态网页问题?

来源:百度文库 编辑:高考问答 时间:2024/05/09 18:07:21
<a href="javascript:openwin('../company.asp?uid=<%=rs("uame")%)>','top=10,left=300,width=460,height=420')">
<%if len(rs("cname"))>12then%><%=left(rs("cname"),12)%>...<%else%>
<%=rs("cname")%>
<%end if%>
</a>各位高手可以解释一下这段代码的意思吗?我不明openwin是什么意思,还有的就是('top=10,left=300,width=460,height=420)这几个代码要实现什么的呀?因为我是个菜鸟,请大家不要见笑.

openwin('../company.asp?uid=<%=rs("uame")%)>','top=10,left=300,width=460,height=420')
这句意思就是,打开网页company.asp?uid=<%=rs("uame")%>窗口大小为宽460,高420,左边距300,顶边距10

是打开没有地址栏的窗口
top=10,left=300是窗口的位置
width=460,height=420是窗口的大小