Overview
The openAssessmentIframe JavaScript function returns HTML that can be rendered in an iFrame to allow users to perform assessments.
...
...
Info |
---|
|
<!DOCTYPE html> <html> <head> <script src="https://api-sandbox.datamtd[staging|www].vbmappapp.com/javascripts/iframe_support.js"></script> <script type="text/javascript"> window.onload = function() { openAssessmentIframe( 'datamtd<your user agent key>', // User-Agent 'en', // Accept-Language 'a<a sign in tokentoken>', // Sign in token 'vbmapp', // X-SystemDomain 42, // X-LearnerId null, // X-LearnerCode document.getElementById('mount-point') // The mount point for the iFrame in this document ) } </script> </head> <body> <h1>Welcome to VB-MAPP!</h1> <div id="mount-point"> </div> </body> </html> |
...