iFrame Learner List

The openLearnersIframe 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|api].vbmappapp.com/javascripts/iframe_support.js"></script>
    <script type="text/javascript">
      window.onload = function() {
        openLearnersIframe(
            '<YOUR COMPANY>', // User-Agent
            'en', // Accept-Language
            '<a sign in token>', // Sign in token
            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>

EXAMPLE


Did this page help you?