We have our intranet written in ASP. We are modifying it some and would like to have the following link open in a new window when generated. The code is listed below:
The following is what we are trying to get to open in a new window when clicked on:
Response.write("<a href=""docstore/" & QIID & "/checks/" & x.Name & """>" & x.Name & "</a></br>")
Any help is appreciated!
Enkrypted
A+
Code:
Response.Write "<strong>Checks<hr noshade></strong><br>"
If fs.FolderExists(storestr & qiid & "\checks\") Then
' response.write storestr & qiid & "\checks\"
set folder = fs.GetFolder(storestr & qiid & "\checks\")
for each x in folder.files
Response.write("<a href=""docstore/" & QIID & "/checks/" & x.Name & """>" & x.Name & "</a></br>")
next
If folder.files.count = 0 then Response.Write "There are no checks attached to this QI.<br>"
Response.Write "<br>"
set folder = nothing
Else
Response.Write "There are no checks attached to this QI.<br><br>"
End If
The following is what we are trying to get to open in a new window when clicked on:
Response.write("<a href=""docstore/" & QIID & "/checks/" & x.Name & """>" & x.Name & "</a></br>")
Any help is appreciated!
Enkrypted
A+