I have a website that generates a list of articles from a database. Each of these articles also has a description in the database which I want to pop up when the user rolls over the articles name. Is there a way to do this?
I guess. I just need a text box or something to appear on the rollover with the description (from the database) of the coresponding article.
The SQL is:
CompanyInfo.Source = "SELECT Title, Author, description, filename, Title FROM Articles ORDER BY Title ASC"
and the loop to list the articles is:
%>
While ((Repeat1__numRows <> 0) AND (NOT CompanyInfo.EOF))
%>
a href = "articles/<%=(CompanyInfo.Fields.Item("filename".Value)%>">
<%=(CompanyInfo.Fields.Item("Title".Value)%> </a>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
CompanyInfo.MoveNext()
Wend
%>
Thanks. That code works really well on it's own but for some reason if I stick the exact same code in my asp page it doesn't work any more. Do I have to do something different?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.