[Xerte] Re: download file pdf

Pat Lockley patrick.lockley at googlemail.com
Thu Dec 29 09:10:57 GMT 2011


Hello,

If you put a debug('click') statement into the script you will see if the event works

Pat

On 29 Dec 2011, at 07:45, pippo pluto <matis25 at yahoo.com> wrote:

> hi
> this is my problem:
> 
> I have a small icon (a jpg image, it is called 'logopdf1') I would click on and download a simple PDF file (its name is comparative.pdf) :
> 
> I did it this way:
> 1) I have an id (logo) associated with image
> 2) I create an interection
> 3) I create an event that I called Event1,  icon : logo , eventname: onRelease
> 4) I create a script : into the script I wrote:  getURL('media/pdf/comparative.pdf', '_blank');
> 
> but doesn't work...what code should I write in the script?
> 
> thank's
> Matteo Pirola
> University of Ferrara
> Italy
> 
> 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.
> 
> _______________________________________________
> Xerte mailing list
> Xerte at 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.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111229/ad5fe132/attachment.html>


More information about the Xerte mailing list