SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2000
    Location
    Birmingham, AL
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm looking for a javascript that will allow users to click on icon/image that will let them download a PDF file (rather than open it in their browser).

    Is there a javascript that will do this function? Or am I stuck with the Right Click & and Save Target As option?

    Thanks!

    Joseph

  2. #2
    JavaScript Guru (Big Ego) Arielladog's Avatar
    Join Date
    Jul 1999
    Location
    SC, USA
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey uwajes,

    Unforunately, I don't think this is possible. Perhaps you could zip up the file. That's about all I can think of. The only action you can perform of saving something to the client's computer is to save the current page, and that's would only be in IE 4+.

    aDog


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •