Hi,
I'd like to know if this is possible. After my asp page has loaded, it returns a number of results in the form of hyperlinks. Is there a general javascript function I can code, so that when I mouse over these hyperlinks, it will show a general message in the display bar status? Or do I have to code it exactly when the hyperlink is written out in the ASP file?
In my asp file, here is the table I build:
<TABLE BORDER="1" width="80%">
<TR>
<%For Each Field In RS.Fields%>
<th><%If Field.Name <> "DummyField" Then
response.write Field.name
End If%></th>
<%Next%>
</TR>
<% Do While Not RS.EOF %>
<TR>
<%For Each Field In RS.Fields %>
<TD ALIGN=center>
<%If Field.Name ="ReportName" Then
Response.Write "<a href='" & Field.Value & "'>" & Field.Value
End If %>
</TD>
<% Next
RS.MoveNext %>
</TR>
<% Loop %>
</TABLE>
I know the code to change the status bar display is:
<a href=" onmouseover=" window.status='Go To CodeAve.com!'; return true" onmouseout="window.status=''; return true">CodeAve</a>
Do I have to incorporate this code into the Response.Write in my ASP file? Or can I have a general javascript function for hyperlinks?
Any ideas would be greatly appreciated.
Thanx {=-)
I'd like to know if this is possible. After my asp page has loaded, it returns a number of results in the form of hyperlinks. Is there a general javascript function I can code, so that when I mouse over these hyperlinks, it will show a general message in the display bar status? Or do I have to code it exactly when the hyperlink is written out in the ASP file?
In my asp file, here is the table I build:
<TABLE BORDER="1" width="80%">
<TR>
<%For Each Field In RS.Fields%>
<th><%If Field.Name <> "DummyField" Then
response.write Field.name
End If%></th>
<%Next%>
</TR>
<% Do While Not RS.EOF %>
<TR>
<%For Each Field In RS.Fields %>
<TD ALIGN=center>
<%If Field.Name ="ReportName" Then
Response.Write "<a href='" & Field.Value & "'>" & Field.Value
End If %>
</TD>
<% Next
RS.MoveNext %>
</TR>
<% Loop %>
</TABLE>
I know the code to change the status bar display is:
<a href=" onmouseover=" window.status='Go To CodeAve.com!'; return true" onmouseout="window.status=''; return true">CodeAve</a>
Do I have to incorporate this code into the Response.Write in my ASP file? Or can I have a general javascript function for hyperlinks?
Any ideas would be greatly appreciated.
Thanx {=-)