All Forums >> [Scripting] >> ASP >> Title display on a link... Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I'm working on a webpage that has a navigation bar w/links. When the user places their mouse over the links i want to give a discription. i have created a loop in asp that brings in the field from a database but it only displays the first word of the field, i want it to display all of the text.
any ideas?
here's the loop:
do while not rs.eof NoURL=False if Isnull(rs("ResourceID").value) or Trim(rs("ResourceID").value) = "" then NoURL = True %> <table width="150" cellpadding="2" cellspacing="2" border="2" align="center"> <tr> <%if NoURL then%> <td class="flyoutLink" BGCOLOR="#FFFFEE"><font COLOR="#FFFFFF">[<%=rs("ResourceName").value%>]</font></td> <%else if CurrSel = rs("ResourceID")then CurrSelName = rs("ResourceName") %>
<td class="flyoutLink2"><font COLOR="#FFFFFF"><a href='myCalendar.asp?action=ViewMnth&date=<%=CurrMnth%>&ConfRm=<%=rs("ResourceID")%>'""title=<%=rs("Capacity")%> target="_self"><%=rs("ResourceName").value%></a></font></td> <% else %> <td class="flyoutLink"><font COLOR="#FFFFFF"><a href='myCalendar.asp?action=ViewMnth&date=<%=CurrMnth%>&ConfRm=<%=rs("ResourceID")%>'""title=<%=rs("Capacity")%> target="_self"><%=rs("Capacity").value%></a></font></td> <% end if end if%>