How to create hypertext links

Dave Cragg dcragg at lacscentre.co.uk
Fri Apr 7 18:42:50 EDT 2006


On 7 Apr 2006, at 23:36, Dave Cragg wrote:
>
>   set the htmlText of field 1 to "The <a href="9">rain in Spain</a>  
> falls mainly in the plains."

That was a pretty poor piece of scripting. :-)

   put "The <a href=" into tString
   put  quote & "9" & quote after tString
   put  ">rain in Spain</a> falls mainly in the plains." after tString
   set the htmlText of field 1 to tString

Dave



More information about the use-livecode mailing list