Re: passing a string to a function by mouse-click on it?
yes, hyperlinnk is hte first which comes to one's mind, but it is not to
smart wrapping each word into <a> tags.
I quess that is a word is clicked, there is a way to capture which word has
been clicked and pass it to a function.
"William Morris" <news.remove.this.and.the.dots@seamlyne.com> wrote in
message news:bvp5vs$v1rcn$1@ID-205671.news.uni-berlin.de...[color=blue]
> Well, what happens when the user clicks on a word? The smartest way to[/color]
make[color=blue]
> a word clickable is to hyperlink. If you wrap each word in a clickable
> span with a style to simulate the look of a link, for instance, you have[/color]
to[color=blue]
> wait for the browser to apply the relevant styles to every span on the[/color]
page,[color=blue]
> where a hyperlink gets its formatting immediately with no waiting.
>
> "aa" <aa@virgin.net> wrote in message
> news:%233m1fIp6DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > I have a section of a website which is heavily loaded with technical
> > terminoogy. I have a Glossary database running from ASP code which[/color][/color]
accepts[color=blue]
> a[color=green]
> > string and returnd it's meaning (is there is meaning).
> > Now I want a cusotmer, instead of copying a word into a field, just[/color][/color]
click[color=blue]
> a[color=green]
> > word. I do not make all the words hyperlink. Is there any smart way to
> > acheive this? I realise that this is a clent-side question, but perhaps
> > someone can direct me into correct direction?
> >
> >[/color]
>
>[/color] |