[thelist] Coding page to auto-download pdf file
John C Bullas (soton.ac.uk relay)
jcbullas at nildram.co.uk
Mon Dec 8 03:20:24 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
More information about the thelist
mailing list