parallon
09-29-2006, 10:24 PM
Hello all. I have a table in which I would like the whole row to act as a hyperlink. I have tried everything but the correct thing, so if anyone has any helpful suggestions, I would be more than appreciative. Here is what I have so far:
<tr onMouseOver="this.style.background='#FFFF99'" STYLE="cursor:hand;" onmouseout="this.style.background='white';" onClick="<A HREF="Cust_Main.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "CustomerNo=" & rsCust_Info.Fields.Item("CustomerNo").Value %>"></A>">
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("Customer").Value)%></td>
<td WIDTH="150"><%=(rsCust_Info.Fields.Item("CustomerID").Value)%></td>
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("City").Value)%></td>
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("State").Value)%></td>
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("Phone").Value)%></td>
<td WIDTH="50"><div ALIGN="CENTER">
<input TYPE="checkbox" NAME="checkbox" disabled="true" <% If (rsCust_Info.Fields.Item("Active").Value) = True Then %><% Response.Write (" checked")%><% else %><% Response.Write ("")%><% End If %> /></div></td>
</tr>
Thanks in advance,
Parallon
<tr onMouseOver="this.style.background='#FFFF99'" STYLE="cursor:hand;" onmouseout="this.style.background='white';" onClick="<A HREF="Cust_Main.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "CustomerNo=" & rsCust_Info.Fields.Item("CustomerNo").Value %>"></A>">
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("Customer").Value)%></td>
<td WIDTH="150"><%=(rsCust_Info.Fields.Item("CustomerID").Value)%></td>
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("City").Value)%></td>
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("State").Value)%></td>
<td WIDTH="125"><%=(rsCust_Info.Fields.Item("Phone").Value)%></td>
<td WIDTH="50"><div ALIGN="CENTER">
<input TYPE="checkbox" NAME="checkbox" disabled="true" <% If (rsCust_Info.Fields.Item("Active").Value) = True Then %><% Response.Write (" checked")%><% else %><% Response.Write ("")%><% End If %> /></div></td>
</tr>
Thanks in advance,
Parallon