Forums
This topic is locked
Open link in a new window - code?!!!
22 Mar 2004 11:56:06 A B posted:
Hi! I have created a search engine for certain pdf files on my company's intranet but have trouble coding the links to open in a new window. I know target = "_blank" for the <a href=".."> tag that points the user to the file is needed,
but as the link is created from a "Response.Write" command when i enter the "target = "_blank" " command in the <Href> tag it comes up with "False" any ideas??????
The following is the code i use in order to create the link.
Response.Write "<A HREF=""" & FormatURL(objFile.Path) &""">" & _
strTitle & "</A><BR>" & vbCrLf
Replies
Replied 27 Mar 2004 00:53:09
27 Mar 2004 00:53:09 Phil Shevlin replied:
Response.Write "<A HREF=""" & FormatURL(objFile.Path) &""" target='_blank'>" & _
strTitle & "</A><BR>" & vbCrLf
strTitle & "</A><BR>" & vbCrLf