Author: lm111 | Posted on: 8/14/2009 5:49:37 AM | Views : 352

I need help with a simple glossary that I am currently working on.

I have a sql database with one table

TDTable
ID
Term
Definition

I have a search function and an accordion to display my data. Terms are being displayed in the header portion of the accordion and definitions are in the content section. So far everything works fine.

My major problem now is cross referencing. For example, if a term is being referenced in a definition, then that term would need to be converted into a hyperlink.

For example:

Term1 //displayed in the header section of my accordion
Here is the definition. //displayed in the content section of the accordion
Term2
Here is the definition but here is also a reference to Term1.

The user clicks on Term2 in the accordion and the definition ...

Go to the complete details ...