Click link, download mp3 instead of right click?

hey, i was wondering if there was a way to click a link to an mp3, and instead of opening the mp3 in the browser (the way that IE 5.5 and up do) that it would ask to instead download the mp3.

any clues?

Yeah. Create a new HTML file, and call it something like mp3download.html. Then in the page you want the link to appear in, use this code:


<a href="mp3download.html" title="Download">Download the mp3</a>

Then, in mp3download.html, use this meta tag:


<meta http-equiv="Content-Disposition" content="attachment;filename=mySong.mp3" />

You can add other content in your mp3download.html file, but that meta tag will force download.