<html><body bgcolor="#FFFFFF"><div>Hello,</div><div><br></div><div>If you put a debug('click') statement into the script you will see if the event works</div><div><br></div><div>Pat<br><br>On 29 Dec 2011, at 07:45, pippo pluto <<a href="mailto:matis25@yahoo.com">matis25@yahoo.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span id="result_box" class="short_text" lang="en"><span class="hps">hi</span><br> <span class="hps">this is my</span> <span class="hps">problem:</span></span></div><div><br><span id="result_box" class="short_text" lang="en"><span class="hps"></span></span></div><div><span id="result_box" class="" lang="en"><span class="hps">I have a small</span> <span class="hps atn">icon (</span><span class="">a</span> <span class="hps">jpg image, it is called 'logopdf1'</span><span class="">)</span> </span><span id="result_box" class="" lang="en"><span class="">I would</span> <span class="hps">click on</span> <span class="hps">and download a</span> <span class="hps">simple PDF file (its name is comparative.pdf) :</span></span></div><div><br><span id="result_box" class="" lang="en"><span class="hps"></span></span></div><div><span id="result_box" class="short_text" lang="en"><span class="hps">I</span> <span class="hps">did it this way:</span></span></div><div><span id="result_box" class="" lang="en"><span class="hps"></span></span>1) <span id="result_box" class="short_text" lang="en"><span class="hps">I have</span> <span class="hps">an id</span> (logo) <span class="hps">associated with</span> <span class="hps">image</span></span><br><span id="result_box" class="" lang="en"><span class="hps"></span></span></div><div><span id="result_box" class="" lang="en"><span class="hps">2) I create an interection<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="hps">3) I create an event that I called Event1,  icon : logo , eventname: onRelease<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="hps">4) I create a script : into the script I wrote:  getURL('media/pdf/comparative.pdf',
 '_blank');</span></span></div><div><br><span id="result_box" class="" lang="en"><span class="hps"></span></span></div><div><span id="result_box" class="" lang="en"><span class="hps">but doesn't work...</span></span><span id="result_box" class="short_text" lang="en"><span class="hps">what code</span> <span class="hps">should I write</span> <span class="hps">in the script</span><span>?</span></span></div><div><br><span id="result_box" class="short_text" lang="en"><span></span></span></div><div><span id="result_box" class="short_text" lang="en"><span>thank's</span></span></div><div><span id="result_box" class="short_text" lang="en"><span>Matteo Pirola</span></span></div><div><span id="result_box" class="short_text" lang="en"><span>University of Ferrara</span></span></div><div><span id="result_box" class="short_text" lang="en"><span>Italy<br></span></span><span id="result_box" class="" lang="en"><span class=""></span></span></div></div><br>
<p>
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.
</p>
<p>
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></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Xerte mailing list</span><br><span><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a></span><br><span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br><span></span><br><span>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.</span><br><span></span><br><span>This message has been checked for viruses but the contents of an attachment</span><br><span>may still contain software viruses which could damage your computer system:</span><br><span>you are advised to perform your own checks. Email communications with the</span><br><span>University of Nottingham may be monitored as permitted by UK legislation.</span><br><span></span><br></div></blockquote></body></html>