Results 1 to 2 of 2

Thread: Need Help with a link

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224

    Question

    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

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width