[thelist] Coding page to auto-download pdf file

John C Bullas (TRG: Univ. of Southampton) J.C.Bullas at soton.ac.uk
Mon Dec 8 03:19:47 CST 2003


At 03:34 AM 12/8/2003, you wrote:
>I¹ve been searching for this info all night! How do I make a PDF-type text
>link where, when clicked, a pdf file I¹ve specified automatically downloads
>and opens on the person¹s screen?

like this...

http://groups.yahoo.com/group/Practical-HTML/message/234

Useful?

<a href="targetfile.pdf" OnClick="alert('Download by Right Click Save Target
As - Mac users Control Click and select download link');return
false;"><img src="iconimage.gif" alt="Download Page" width="18"
height="20" border="0"></a>

seems to work.....

John


>Thanks!
>
>- Jaycinda
>--
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt !

******************* John C Bullas **************
Transportation Group
School of Civil Engineering and the Environment
University of Southampton
Highfield SOUTHAMPTON SO17 1BJ
    Tel +44 (0)2380 59 2192   Fax +44 (0) 2380 59 3152

Homepage: http://www.soton.ac.uk/~johnb/
Blog: http://freeroller.net/page/johnbullas/Weblog
**** Eudora Mail 6.0.0.22  + McAfee Virus Scan 4.5.1 **** 


More information about the thelist mailing list