ID's for linked text?

Derek Larsen dll392 at gmail.com
Fri May 12 17:42:08 EDT 2006


Wow, Thanks everyone! I've got some good options to choose from.

Thanks again.

--
Derek


On 5/11/06, Ken Ray <kray at sonsothunder.com> wrote:
>
> On 5/11/06 10:07 AM, "Derek Larsen" <dll392 at gmail.com> wrote:
>
> > I have a text field that has specific paragraphs setup as linked. I'd
> like
> > to find a dynamic way to find out which one of those paragraphs the user
> > clicked on without having to know the content of the paragraph.
> >
> >
> >
> > Is there any kind of ID or number associated with each link? I haven't
> been
> > able to find anything useful in the documentation.
>
> Not really, but if you want to use HTML, you can add your own ID to linked
> text... for example if you do this:
>
> put "<a href=" & quote & "Test" & quote & ">This is a test</a>" into tHTML
> set the htmlText of fld 1 to tHTML
>
> and then have code in the field that says:
>
> on linkClicked pLink
> answer pLink
> end linkClicked
>
> When you click on the "This is a test" link text, it will answer "Test".
>
> HTH,
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list