P
Prince Hoff Jr.
How can I create a link so that when it is clicked, a
description appears. For example.
Microsoft <== when this is clicked the following text
appears below it.
"Number one software company"
I have a method of doing this but it seems very long. I
could create one LinkControl and a Label control. Then
in the page behind, I handle the OnClick event for the
Link and make the Label visible then set the text. Once
I click it again, the text vanishes. This will require
me to have a flag for each link which I then test.
Depending on the test, I eitehr make the text visible or
invisible. This might work but I was hoping for an
easier way to do this.
I'm creating an FAQ page and when someone clicks a FAQ,
the explanation appears below. Then once it's clicked
again, the explanation disappears.
-- Prince
description appears. For example.
Microsoft <== when this is clicked the following text
appears below it.
"Number one software company"
I have a method of doing this but it seems very long. I
could create one LinkControl and a Label control. Then
in the page behind, I handle the OnClick event for the
Link and make the Label visible then set the text. Once
I click it again, the text vanishes. This will require
me to have a flag for each link which I then test.
Depending on the test, I eitehr make the text visible or
invisible. This might work but I was hoping for an
easier way to do this.
I'm creating an FAQ page and when someone clicks a FAQ,
the explanation appears below. Then once it's clicked
again, the explanation disappears.
-- Prince