First, here is what I would like to do:
Row 1
Row 2
Row 3
I have a code setting so that when you hover over line 1, 2 or 3, the line is highlighted. This is done via css.
I would like to be able (for example) to click row1, and then it will look like this:
Row 1
Some text here
Row 2
Row 3
This text will remain there until I click on another line, at which point it will disappear. For example, let's say I pressed the following line 2.
Row 1
Row 2
Even more text here
Row 3
I found code that talks about using javascript to do this, and setting the visibility of the text, but I'm not sure how I can do this without having a ton of nearly duplicated code ...