Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Save link as when left clicked

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27809
    skater102
    Member

    Is there any way to create an anchor link that when it is left clicked, the save as dialog box comes up for the target file (targetfile.mp3 for example)?
    It seems like it should be able to be done with javascript (even though it could be a security vulnerability to users), but I cant figure out how. I am no javascript guru and I cant for figure it out, even with lots of searching on the net.

    Any ideas?

    #70454
    skater102
    Member

    Thanks. I had thought about the zip file thing also. Unfortunately this is for a dynamic sites podcasting feature (Drupal). So in order to do that, and have a listen online function, I would have to have both the zip file and the .mp3 attached to each episode. Which wouldn’t be hard, but it probably wouldn’t be the best work flow. Thanks for the link, I will check it out.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.