<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Can you append the “<img src=\”\” />”
string to the end of the textfield.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I’m not crash hot at raw xerte, these are hacks<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Johnathan
Kemp<br>
<b>Sent:</b> 05 August 2009 11:37<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Use textIcon field of a text icon to display
agraphictothe left of a text icon<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I have six text fields and two
target areas in an interaction</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Text fields 1 through 3 are
correct for target area ta1, text fields 4 through 6 are correct
for target area ta2</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I would like to display a ?
graphic against each text field, that will move with them when they are
dragged. Hence the attempt to use the iconText field of the text icon.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>When text field 1 is dropped onto
ta2 (an incorrect user response) I am changing the text colour to red but
I also want to change the ? graphic to a X graphic.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>When text field 1 is dropped onto
ta1 ( a correct user response) I am changing the text colour to green but I
also want to change the ? graphic to a tick graphic.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>At the moment the dragging works,
the colour change works, the scores increase or decrease depending on whether
the response is correct or incorrect.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>However I cannot get the textIcon
to appear beside the text at all. Only once I can get it to display will I then
be able to explore how I can change the graphic from within a script.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Once I have cracked this I want to
add a sound to play when a drop is completed, either a right answer sound for a
correct response or a wrong answer sound for an incorrect response.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>This is all using raw xerte.</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Kind regards</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Johnathan</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
</div>
<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johnathan
Kemp<br>
ICT Development Coordinator<br>
Connexions Staffordshire<br>
</span><a href="http://www.cxstaffs.co.uk/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.cxstaffs.co.uk</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>01785 355714</span><o:p></o:p></p>
<p style='margin-left:36.0pt'> <o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
lang=EN-US>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick
Lockley<br>
<b>Sent:</b> 05 August 2009 11:15<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Use textIcon field of a text icon to display a
graphictothe left of a text icon</span><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Hello,<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>So you want a tick image to
appear depending on where an item is dropped?<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Set the graphic to be invisible
till the result even, then set it visible?<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'>Pat<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:blue'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk]
<b>On Behalf Of </b>Johnathan Kemp<br>
<b>Sent:</b> 05 August 2009 11:15<br>
<b>To:</b> xerte@lists.nottingham.ac.uk<br>
<b>Subject:</b> [Xerte] Use textIcon field of a text icon to display a graphic
tothe left of a text icon<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Hello wonderful Xerte people,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Sorry if this has been covered in the list,
but if it has I can't find it. </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Searching on textIcon returns lots of hits
for text icon :-( but nothing for textIcon.</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>I have a page with a graphic and a text icon.
</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>I have set the textIcon property to </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>FileLocation + 'media/Tick.png' </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>which is the same value as the url field of
the graphic icon.</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>The graphic icon shows in the page but fails
to show as an icon to the left of the text icon.</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>I am eventually aiming to have the text icon
appear as a result of dragging and dropping the text icon.</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>If the text icon is dragged onto the correct
target area I want to display a tick and if it is dropped onto the wrong target
area a cross, to the left of the text.</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>First - how do I even get the textIcon to
display?</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Second - can I change it by a script by using
</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>interactionId.objectDropped.XMLElement.attributes.textIcon
= "FileLocation + 'media/Tick.png'"</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Kind regards</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Johnathan</span><o:p></o:p></p>
</div>
<p style='margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johnathan
Kemp<br>
ICT Development Coordinator<br>
Connexions Staffordshire<br>
</span><a href="http://www.cxstaffs.co.uk/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.cxstaffs.co.uk</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>01785 355714</span><o:p></o:p></p>
<p style='margin-left:72.0pt'> <o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
</div>
<div>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>
<hr size=2 width="100%" align=center>
</div>
</div>
<p class=MsoNormal style='margin-left:72.0pt'>This email and any files
transmitted with it are confidential and are intended solely for the use of the
individual(s) or entity(s) to whom they are addressed. All messages are
monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is
reserved to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify
postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in
England No.4355170 Registered office: Foregate House, 70 Foregate Street,
Stafford, Staffordshire, ST16 2PX<o:p></o:p></p>
</div>
<div>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>
<hr size=2 width="100%" align=center>
</div>
<p class=MsoNormal style='margin-left:36.0pt'>This email and any files
transmitted with it are confidential and are intended solely for the use of the
individual(s) or entity(s) to whom they are addressed. All messages are
monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is
reserved to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify postmaster@cxstaffs.co.uk
Connexions Staffordshire Limited is registered in England No.4355170 Registered
office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX<o:p></o:p></p>
</div>
</div>
</body>
</html>