<HTML dir=ltr><HEAD><TITLE>RE: [Xerte] How do you detect someone clicking on text that hasbeenmarked with the hot text tags?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText55634 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>the method is there so it can be called from &lt;a href="asfunction:_level0.engine.hotText, index"&gt; link in html and have the piece navigate to a page. I think. Check out what the actual function does and what parameters it expects.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>J</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Johnathan Kemp<BR><B>Sent:</B> Tue 08/09/2009 08:59<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] How do you detect someone clicking on text that hasbeenmarked with the hot text tags?<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Dear Xerte Team,<BR><BR>I have now discovered that there is a method&nbsp; _level0.engine.hotText.<BR><BR>There also appears to be a property hotTextClicked, though I am unsure<BR>what object it belongs to.<BR><BR>However since the hottext is not a child of an interaction I am unsure<BR>how to test for when the text has been clicked on, so as to trigger<BR>events from a script.<BR><BR>I have searched the help and the archives but cannot find anything that<BR>will give me the final part to solve the puzzle.<BR><BR>Kind regards<BR><BR>Johnathan<BR><BR><BR>Johnathan Kemp<BR>ICT Development Coordinator<BR>Connexions Staffordshire<BR>www.cxstaffs.co.uk<BR>01785 355714<BR><BR><BR><BR><BR><BR>-----Original Message-----<BR>From: xerte-bounces@lists.nottingham.ac.uk<BR>[<A href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of Johnathan<BR>Kemp<BR>Sent: 03 September 2009 12:02<BR>To: Xerte discussion list<BR>Subject: [Xerte] How do you detect someone clicking on text that has<BR>beenmarked with the hot text tags?<BR><BR>Dear Xerte Team,<BR><BR>I have a text icon which contains text that is to long to fit in the<BR>text box, so I am using a scroll bar. However I want to trap the user<BR>clicking on sections of the text.<BR><BR>If I use a hot spot this becomes out of position when the user scrolls<BR>the text icon, as the text moves but the hot spot does not.<BR><BR>Could I use the hot text tags to mark the text I want the user to click<BR>on?<BR><BR>If so how would I then trap the event, distinguishing between one<BR>section of text within the icon and another?<BR><BR>I am trying to avoid breakApart() as the text icon in question is being<BR>used as a display area, being populated by script that reads the text<BR>property of the appropriate text icon to be displayed and then using<BR>setText() to set the text of the display text icon. If I can just put<BR>tags in the text that would be ideal.<BR><BR>Kind regards<BR><BR>Johnathan<BR><BR><BR>Johnathan Kemp<BR>ICT Development Coordinator<BR>Connexions Staffordshire<BR>www.cxstaffs.co.uk<BR>01785 355714<BR><BR><BR>This email and any files transmitted with it are confidential and are<BR>intended solely for the use of the individual(s) or entity(s) to whom<BR>they are addressed. All messages are monitored for virus, high risk<BR>files and inappropriate content. As a result users should be aware that<BR>this mail maybe accessed, read and the right is reserved to reject,<BR>return, remove attachments or delete if considered to be inappropriate<BR>or unsuitable. Liability cannot be accepted for any loss or damage<BR>arising from this email (or any attachments) or from scripts or any<BR>virus transmitted.<BR><BR><BR><BR>This communication represents the originator's personal views and<BR>opinions, which do not necessarily reflect those of Connexions<BR>Staffordshire. If you are not the original recipient or the person<BR>responsible for delivering the email to the intended recipient, be<BR>advised that you have received this email in error, and that any use,<BR>dissemination, forwarding, printing, or copying of this email is<BR>strictly prohibited. If you received this email in error, please<BR>immediately reply to the sender or notify postmaster@cxstaffs.co.uk<BR><BR><BR><BR><BR><BR>Connexions Staffordshire Limited is registered in England No.4355170<BR><BR>Registered office: Foregate House, 70 Foregate Street, Stafford,<BR>Staffordshire, ST16 2PX<BR><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR><BR>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.<BR><BR><BR><BR>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<BR><BR><BR><BR><BR><BR>Connexions Staffordshire Limited is registered in England No.4355170<BR><BR>Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX<BR><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></BODY></HTML>