I'm a total javascript newbie, but I've figured out that a true
cross-platform way to initiate a 'SaveAs' dialog doesn't exist.
So... I'm searching for the most 'elegant' way to do this:
I pop up a window with a picture in it. The picture is a Thumbnail for
the full-size digital image. The fullsize digital image is too big to fit
on a typical user's screen.
What I would like is to prevent the browser (any browser, I know I have to
support IE, FireFox, and Mac-Safari at a minimum) from opening this jpeg
image in a new window, and instead ask the user if s/he wants to save the
file.... Doable? I guess what I am trying to do is turn off the automatic
mime-type handling for this one operation.....
Failing that, I am looking for the most elegant way of handling this. I
really don't want users to get a window that is 2 or 3 times their screen
size, just to save the file.....
Any thoughts?
--
use munged address above to email me
SpamTrap DoMeNow@seiner. com
cross-platform way to initiate a 'SaveAs' dialog doesn't exist.
So... I'm searching for the most 'elegant' way to do this:
I pop up a window with a picture in it. The picture is a Thumbnail for
the full-size digital image. The fullsize digital image is too big to fit
on a typical user's screen.
What I would like is to prevent the browser (any browser, I know I have to
support IE, FireFox, and Mac-Safari at a minimum) from opening this jpeg
image in a new window, and instead ask the user if s/he wants to save the
file.... Doable? I guess what I am trying to do is turn off the automatic
mime-type handling for this one operation.....
Failing that, I am looking for the most elegant way of handling this. I
really don't want users to get a window that is 2 or 3 times their screen
size, just to save the file.....
Any thoughts?
--
use munged address above to email me
SpamTrap DoMeNow@seiner. com
Comment