However, it does have access to a header script on the page that contains the iframe, and I can call a function in that header script from within the iframe. So:
- An action group with actions to hide the iframe, show the “you’re done” message and set the course completed.
- A header script with a function that runs that action group. (Thanks for that snipped, Tim!)
- A line in the script in the iframe calling parent.function()
I am intrigued by this line, which could prove very helpful for other situations:
Got a code snippet for that?