HTML Question
Malte Brill
revolution at derbrill.de
Mon Mar 21 07:43:21 EST 2005
Hi Varen,
you might want to check the linkClicked handler and the linkText
property.
Assuming your HTML looks like this:
<a href="http://www.derbrill.de/test.txt">Click here</a>
You can have the following script in your field (the lockText of the
field must be set to true!)
on linkClicked theLink
get URL theLink
put it into field "output"
--your parse routine here
end linkClicked
The linktext is the href part in your <a> tag. If the hrefpart is not
specified linkClicked will return the text within the <a></a> tags.
Hope that helps,
Malte
More information about the use-livecode
mailing list