views:

23

answers:

0

Hi,

I have scenario in which the end-user is presented with a paragraph of text. At the admin end, admin can select any portion of text out of that paragraph and attach some tag to it along with its description. At user's end, that paragraph is then shown as is, but highlighting that particular portion which admin had "tagged". Users can then hover their mouse over that particular highlighted text and comment upon that.

My question is what would be the best way to achieve that functionality ? I'm using asp.net mvc and open to use jQuery UI if that helps. At the backend the store looks like this ...

Id Description isDeleted.

Where is Id is an primary key with unique identifier. I'm planning to add tags to the original text and persist changes back to the table. For example if the text is "Hi, is money everything?" then admin can tag it like following... Hi, is money everything?.

As such, this is how I have analyzed it to look like. But i'm not sure if this is the correct way to things. I'm not sure about the front-end as well. Your precious opinions are welcomed.

Thanks in advance.