Skip navigation
Exam Professor

How do I embed exams on my web site?

Putting exams into your own web pages is extremely easy, and Exam Professor offers two options:

  • Embed individual exams.
  • Embed the whole student interface.

Individual exams

You will need to embed a few lines of code in your web page for an exam to load and a gateway to be formed between your web server and ours. A typical web page will contain HTML code that can be viewed by selecting "view source" in your browser's menu options. Between the opening <body> and closing </body> tags copy and paste the following code:

<script type="text/javascript">
// <![CDATA[
examprofessor_size = "medium";
examprofessor_exam = "96A69A8E1A0E450F";
// ]]>
</script>
<script src="http://www.examprofessor.com/api/scripts/exam_embed.js" language="javascript"></script>

Change the fourth line above (examprofessor_exam) with the key provided to you in the teacher admin interface.

The XML escape code: //<![CDATA{ //]]> is optional. We've included it in this example because some content management system strip out all code between <script></script> tags.

Exam sizes can range from full page (100% x 100%) to a page that fits nicely in blogs (525px x 545px).

Student interface

If you wish to embed the whole student interface onto your web-site, and a gateway to be formed between your web server and ours use the following code:

<script type="text/javascript">
// <![CDATA[
examprofessor_account = "yourcoolthirdpartydomain";
// ]]>
</script>
<script src="http://www.examprofessor.com/api/scripts/exams_embed.js" language="javascript"></script>

Change the third line above (examprofessor_account) to the third party domain your created when signing up for your account.

Once again, the XML escape code: //<![CDATA{ //]]> is optional.

The student interface will include a complete list of both private and public exams under your account, including a student log-in, dashboard of exam data including exam name, passing score, number of takes, retakes, scores and other data specific to your account.

 

Location http://examprofessor.com/index.cfm/1,111,317,0,html

Download the Exam Professor logo

Download (.jpg @ 96 KB)


PressPress contact

For press inquiries, please contact David Brannan at: press@examprofessor.com


Exam Professor is fast

Why wait days, weeks for someone else to build a database and all the scripts needed to build an on-line exam? With Exam Professor you can build, deploy, and collect assessment data with professionalism in only a few short minutes.