HTML5 deployment: progress comes into sight

hh hh at hyperhh.de
Fri Jun 16 13:55:10 EDT 2017


> k wrote:
> I'd like to be able to integrate LC's HTML5 output with regular web page 
> structures a little more flexibly. That's been one of the big things 
> that's really put me off trying out much with this form of output, so 
> far at least.

You can do that since November 2016 (LC 9.0.0-dp2)

function jsExecute str
  do str as "javascript"
  return the result
end jsExecute

This is hard to debug because it works in the standalone only (although one
can test the javascript in a browser widget).

Starting with LC9.0.0-dp7 it is even much more easier to do that, as you can
now use "callbacks" (javascriptHandlers), see 9.0.0-dp7 releaseNotes pp 9-10.

The 9.0.0-dp4 standalones
     Do as JS (Basic test), LCImageToolbox_Basic, Video-Fun, SVGtoPNG
of my HTML5-examples use javascript within the webpage.
It is explained in LC's HTML5 subforum thread "Succesfull tests" how to get
the source code of these examples.




More information about the use-livecode mailing list