Click to See Complete Forum and Search --> : Locate word in HTML and insert hyperlink


dvtruc
09-19-2003, 04:31 AM
Dear all
I would like to count how many words that user hightlight in one HTML page.

In one HTML page have 10 WEBDEVELOPER words, if user highlight one word FORUM 4th among them, how can I know its order is 4th in this HTML pape?.

After that, If I would like to insert a hyperlink forums.webdeveloper.com to selected word , how can I insert the hyperlink and upload to server?

Please help me
Thanks

Ribeyed
09-21-2003, 01:56 PM
hi,
note an easy way to do this at all. You will have to use a combination of server-side and client-side to achieve this. Catching the users movement (highlighting words) is done client-side but you then want to somehow change the page based on the highlighted words, which requires server-side scripting. Try the JAvaScript forum first for the capturing of words that have been highlighted by the user, then come back to the ASP for for help on how to change your page to refect this.

Hope this helps