-
Hi guys,
Hopefully someone can help me
I have the following link.
Code:
Response.Write("Click <A Href="& strFile &".csv>Here</A> to to get CSV file")
I want to know how I can make this link open as a new window with only a menubar(ie no address bar etc.). The file &strFile&. is a file that's generated automatically by a different function (it needs to keep the file extension .csv)
Thanks a lot for your help.
Cheers
JK
-
You can do something like this:
Code:
<HTML>
<SCRIPT language=javascript>
function NavigateToLink(p_Link)
{
window.open(p_Link, p_Link, "status=no,toolbar=no,menubar=no")
}
</SCRIPT>
<BODY>
<BR><BR>
<CENTER>
<%'I assume that you already have strFile holding the correct link%>
<A id=Link style="cursor: hand" onclick=NavigateToLink(<%=strFile%>)><U>Get CSV file</U></A>
</CENTER>
</BODY>
</HTML>