<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>No, my bad.<br>I got the 2 threads crossed.<br>Deborah's feedback issue is desktop, the categories issue is XOT.<br><br>p.s.<br>"Any sufficiently advanced technology is indistinguishable from magic"<br><em></em> Arthur C. Clarke<em></em><em></em><br>;-)<br><br><br><br><hr id="stopSpelling">Date: Wed, 4 May 2011 22:14:48 +0100<br>From: johnathan.kemp@ntlworld.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: Adding Feedback on Completion of Drag and Drop Labelling (Wizards)<br><br><div>Hello Julian,<br></div><div><br></div><div>When you say "
<span style="font-size: 11pt; color: rgb(31, 73, 125);">It goes in [xerte]/tools</span>
"</div><div><br></div><div>Are you referring to Dave's bit of magic </div><div><br></div><div>In preview_xerte_top (found in modules/xerte) <br><br>Add this below the function enableTTS(){ function block:<br><br>
function congrats(param) {<br> alert(param);<br>}<br></div><div><br></div><div>This is all new to me (not javascript, but the arcane arts of adding bits to the back-end of Xerte)</div><div><br></div><div>I took a look in the tools folder of desktop Xerte and then opened every folder in the desktop Xerte installation, but I can't find the location that Dave is referring to.</div>
<div><br></div><div>Kind regards</div><div><br></div><div>Johnathan </div><div><br></div><div><br></div><div><br></div><div class="ecxgmail_quote">On 4 May 2011 14:53, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div lang="EN-GB"><div><p class="ecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">It goes in [xerte]/tools</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;"><p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 04 May 2011 12:09<br><b>To:</b> Xerte discussion list</span></p><div><div class="h5"><br><b>Subject:</b> [Xerte] Re: Adding Feedback on Completion of Drag and Drop Labelling (Wizards)</div></div></div><div><div class="h5">
<p class="ecxMsoNormal" style="margin-left: 36pt;"> </p><div><p class="ecxMsoNormal" style="margin-left: 36pt;">"Do you have access to your server?"</p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p></div>
<div><p class="ecxMsoNormal" style="margin-left: 36pt;">Are we by any chance talking Xerte On-line Toolkits here?</p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;">
I can't find a modules\xerte folder in my desktop Xerte installation or in the project created by Xerte, or have I missed something? Deborah is using the Page Wizards.</p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;">
</p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;">Kind regards</p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p></div><div><p class="ecxMsoNormal" style="margin-left: 36pt;">Johnathan</p></div>
<div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p></div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p><div><p class="ecxMsoNormal" style="margin-left: 36pt;">On 4 May 2011 01:20, Dave Burnett <<a href="mailto:d_b_burnett@hotmail.com">d_b_burnett@hotmail.com</a>> wrote:</p>
<div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><br>Like a javascript alert box?<br>You have access to your server?<br><br>In categories.rlm find the <SCR name="check"> code block and replace it with this:<br>
<br><SCR name="check"><![CDATA[n = 0;<br>tot = 0;<br>for (i = 0; i < tracking.length; i++){<br> for (j = 0; j < tracking[i].length; j++){<br> tot++;<br> if (tracking[i][j].cat == i){<br> n++;<br>
fb.attachMovie('tick', 'tick' + n, n);<br> fb['tick' + n]._x = tracking[i][j]._x + tracking[i][j]._width;<br> fb['tick' + n]._y = tracking[i][j]._y;<br> }<br> }<br>}<br>
<br>if (tot == n) {<br> getURL('javascript:congrats("You da man!");', '');<br>}<br>]]></SCR><br><br><br><br>In preview_xerte_top (found in modules/xerte) <br><br>Add this below the function enableTTS(){ function block:<br>
<br>function congrats(param) {<br> alert(param);<br>} <br><br><br><br>When all the objects are in the correct bins, the box will pop up.<br><br><br><br></p><div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center">
<hr align="center" size="2" width="100%"></div><p class="ecxMsoNormal" style="margin-left: 36pt;">Date: Tue, 3 May 2011 21:50:31 +0300</p><div><p class="ecxMsoNormal" style="margin-left: 36pt;"><br>From: <a href="mailto:admin@strivney.com">admin@strivney.com</a><br>
To: <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a></p></div><div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;">Subject: [Xerte] Re: Adding Feedback on Completion of Drag and Drop Labelling (Wizards)</p>
</div><div><div><div><p class="ecxMsoNormal" style="margin-left: 36pt;">I'm not sure I am understanding what you mean Dave. I would just like to be able to have a "Well Done" pop up when they have placed all the labels in the right places on the image. Would that take up a lot of real estate?</p>
</div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p></div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><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. </p>
</div><p class="ecxMsoNormal" style="margin-left: 36pt;">_______________________________________________ Xerte mailing list <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a> 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. </p>
</div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><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>
<br>This message has been checked for viruses but the contents of an attachment<br>may still contain software viruses which could damage your computer system:<br>you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br><br></p></div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p></div></div></div></div><br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<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>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><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. </body>
</html>