"Frances Del Rio" <fd***@yahoo.com> skrev i meddelandet
news:34*************@individual.net...
I have a bunch of Photoshop images on my server, I want when user clicks
on a link to a Photoshop img for it to start downloading (like when you
click on a Word file..) is there a way to do this w/Javascript? thank
you.. Frances
Probably not. What happens when you click on a link would in many browsers
be governed by the "mime type action" rules set in the preferences of the
browser.
Server-side, you could send a "Content-Disposition: attachment;
filename="somefile.xxx"" header that would hint to well-behaved browsers
that you'd like to run a save file dialog.
Joakim Braun