iFrame InProgress

The openAssessmentIframe JavaScript function returns HTML that can be rendered in an iFrame to allow users to perform assessments.

<!DOCTYPE html>
<html>
  <head>
    <script src="https://[api-sandbox|www].vbmappapp.com/javascripts/iframe_support.js"></script>
    <script type="text/javascript">
      window.onload = function() {
        openAssessmentIframe(
            '<your user agent key>', // User-Agent
            'en', // Accept-Language
            '<a sign in token>', // 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>