Frame Functions

How do we send postMessage using Livecode? The solution is to create javascript and call that directly from Livecode using:

do sJavascript as "Javascript"

# Link Example For an internal link the javascript would need to be constructed using a Livecode function to look like:

window.parent.postMessage({ action:"doInternalLink", title: "About Frame Plugin", keepLineup: event.shiftKey}, "*");

For an external link we need to add the line:

site: "wiki.dbbs.co",

# See