|
Posted by tcremer@gmail.com on 10/20/06 20:18
As far as I know, there isn't a way to invoke the Save As dialog box
via JavaScript or by using other client side browser techniques. If you
really want to do this, it's easiest done server side via a script of
some sort.
But as mentioned previously, consider your end user... People have a
certain expectation of what will happen when left clicking on links,
regardless of what lives behind those links. Instead of trying to
reinvent the wheel so to speak, would it be possible to reinvent your
page and the MP3 links? A simple "Left click the file to open, Right
click the file to save" would make your life lots easier and your
visitor's as well.
-Travis
On Oct 17, 4:48 am, "Paul Jones" <jones.p...@btconnect.com> wrote:
> Hi,
>
> I have a download button on my website where the user can choose to
> download an MP3 file. How do I take the user to the standard "Save As"
> dialog in XP rather than to play the MP3 (which is all I've managed to
> do thus far)? If possible, I'd rather avoid asking the user to
> right-click over the button and choose "Save Target As".
>
> P.S. I'm not using Coldfusion or Dreamweaver or any other authoring
> utility (for reasons too complex to go into here) but I do have the
> option of javascript or (as a last resort) a Java applet.
>
> Thanks,
> Paul
Navigation:
[Reply to this message]
|