<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
rloObject.js<br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Sun, 29 Apr 2012 12:09:04 +0300<br>From: admin@strivney.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Adding Script to the index.html<br><br><div dir="ltr"><font color="#000066"><font face="verdana,sans-serif">Hi,</font></font><div><font color="#000066"><font face="verdana,sans-serif"><br></font></font></div><div><font color="#000066"><font face="verdana,sans-serif">Gordon Bateson, who developed Quizport, has been helping me to get my Xerte's to communicate with Moodle so that I can track student use, scores, etc.  </font></font></div>
<div><font color="#000066"><font face="verdana,sans-serif"><br></font></font></div><div><font color="#000066"><font face="verdana,sans-serif">If I add the following code to the Xerte index.html it communicates with a form in Quizport:</font></font></div>
<div><font color="#000066"><font face="verdana,sans-serif"><br></font></font></div><div><font color="#000066"><font face="verdana,sans-serif"><div><script type="text/javascript"></div><div>//<![CDATA[</div>
<div>function submitForm() {</div><div>    var obj = document.getElementById('store');</div><div>    if (obj) {</div><div>        obj.submit();</div><div>    }</div><div>}</div><div>//]]></div><div></script></div>
</font></font><div><br></div><div><font color="#000066">I am adding the script by editing the html with a text editor but I would really love to be able to add the script to the RLO itself so that it doesn't get wiped very time it is updated.  Is there a way to do this?  Where would I put it?  I am using Wizards.</font></div>
<div><font color="#000066"><br></font></div><div><font color="#000066">Thanks very much in advance.</font></div><div><font color="#000066"><br></font></div><div><font color="#000066">Deborah</font></div><div><font color="#000066"><br>
</font></div><div><font color="#000066"><br></font></div>
</div></div>
<br>

This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.
<BR>

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
<BR>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.</div>                                     </div></body>
</html>