I want to open a directory, that sits on a server, through a link. My problem is that it works perfectly in an .htm page but not in an .asp page. Here is what i use:
<a href="file://server/folder/folder/folder" target="_blank">Foldername</a>
I have tried using 3 or 5 slashes after the file: but the same result. A different thing i found without result is:
<a href="file://server/folder/folder" onclick="window.open(this.href, popupwindow , width=400,height=300,scrollbars,resizable ); return false;">Link</a>
在试图在html中标出之后,我尝试用下列文字:
<%
str_url="file://server/folder/folder"
Response.Write("<script>")
Response.Write("window.open( " & str_url & " , myWin , height=800,width=1024,status=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes,scrollbars=yes );")
Response.Write("</script>")
%>
但是,在几次试图打工时,我仍然禁止我反对隔离墙。 这或许在IIS7中是一种残疾功能吗? 还是缺少东西?
Thanks in advance