HTML Question

xbury.cs at clearstream.com xbury.cs at clearstream.com
Mon Mar 21 05:24:06 EST 2005


Hi Var,

check out the LinkClicked event handler.

Here's one example from my discreteBrowser stack

on linkclicked w
  put ResolveLink(w) into w -- resolves URL with address field if 
necessary
  put w into thisurl
  put w into fld "Status"
  -- handle email urls
  if char 1 to 7 of w is "mailto:" then
    revgourl w -- launch helper
  else
    put w into fld "url"
    send "refreshme" to fld "url" -- loads and displays the url
  end if
end linkclicked

This should give you a good idea of directions to take.

Cheers
Xavier


On 21.03.2005 10:58:21 use-revolution-bounces wrote:
>Hello, I have a question about html links in text areas.
>
>I have an html page loaded into a text field and I'd like to make the
>links in the web page, when clicked, grab a text file from the web
>server to be parsed. I searched for info on this in the docs but didn't
>see it, does anyone know if any examples of this that might be floating
>around? Or, better yet, does anyone know how I might do this?
>
>Thanks.
>
>Var
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER


More information about the use-livecode mailing list