Hello,
Our default on our local Intranet is to open a link to a new page using the target=_blank. I would like to open a page using the target=_self statement when the "FileName" equals a certain page.
How would I write the IF statement to only open the page using the target=_self? I do not know much about ASP and any help would be greatly appreciated.
Here is the current code:
<% Do While Not (objRS.Eof OR objRS.AbsolutePage <> iPage)%>
<br>
<a class="Orange14" href="<%= objDirRS("DirectoryPath")%>
<%= objRS("FileName").value%>" target="_blank">
<%= objRS("DisplayName").value %> </a>
<br> <%= objRS("Description").value%>
<% objRS.movenext
Loop %>
Thank you,
TomR100
Our default on our local Intranet is to open a link to a new page using the target=_blank. I would like to open a page using the target=_self statement when the "FileName" equals a certain page.
How would I write the IF statement to only open the page using the target=_self? I do not know much about ASP and any help would be greatly appreciated.
Here is the current code:
<% Do While Not (objRS.Eof OR objRS.AbsolutePage <> iPage)%>
<br>
<a class="Orange14" href="<%= objDirRS("DirectoryPath")%>
<%= objRS("FileName").value%>" target="_blank">
<%= objRS("DisplayName").value %> </a>
<br> <%= objRS("Description").value%>
<% objRS.movenext
Loop %>
Thank you,
TomR100