<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:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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=WordSection1><p class=MsoNormal><span style='color:#1F497D'>You need to look into asfunction. See attached.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><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>Smith, Philip<br><b>Sent:</b> 16 July 2012 17:34<br><b>To:</b> 'xerte@lists.nottingham.ac.uk'<br><b>Subject:</b> [Xerte] Xerte - attaching an click event to text<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 lang=EN-US>Folks,<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US><br>This is for the standalone version, not XOT. Could anyone give me a code example of attaching a click event to a line of text? What I want to do is simulate a hyperlink click but instead of opening that in a browser it will open up a second text element and a graphic with xerte on the same page.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>Regards,<br>Phil<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-family:"Arial","sans-serif"'>Phil Smith MBCS<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Director of Learning Resources<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></b></p><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif"'>Ross University School of Veterinary Medicine<br></span></b><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif"'>P.O. Box 334<br>Basseterre, St. Kitts, West Indies<br>Phone: 869.465.4161 ext 1213<br>Fax: 869.466.3478<br>Cell: 869.662.7624<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif"'>Email: <a href="mailto:phsmith@rossvet.edu.kn">phsmith@rossvet.edu.kn</a> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><u><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";color:blue'><br></span></u><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br><span style='color:blue'><a href="http://www.rossu.edu/">www.RossU.edu</a><br></span></span><span lang=EN-US><br><b><span style='color:#1E487C'><img border=0 width=252 height=87 id="Picture_x0020_1" src="cid:image001.jpg@01CD6403.15C03550" alt="Description: Description: cid:3370264314_3282185"><br></span></b><br></span><span lang=EN-US style='font-size:8.0pt'>This email (including any attachments) is confidential and may be legally privileged and is for the intended recipient only. Please notify the sender by return e-mail and delete this message from your system if you have received it by mistake. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited and may be a criminal offense. Any views in this message are those of the individual sender, except where the sender specifically states them to be the views of Ross University.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US><o:p> </o:p></span></p></div></body></html>