View Full Version : save as... function - how can i make it save it as an IMAGE not as a HTML file

07-12-2004, 08:15 AM
yes, im using the function right now but it works on my front page but not on all pages. how do i fix this?

btw, im using php pages

07-12-2004, 08:31 AM
Confusing... can you detail your problem, please?

07-12-2004, 08:43 AM
well, im trying to use the save as... javascript for images on my site, since i disabled the right click by using an alternate context menu. however, it only works on one of my pages, the main page, and it doesnt seem to work for the other pages, and saves it as a html file. is there a way to change this? I played around with the numbers and it changes the type of html file, but it won't save to an image. thanks.

07-12-2004, 08:53 AM
You mean using execCommand('SaveAs')?

Take a look here, maybe it will help you

07-13-2004, 07:40 AM
yes, thats the command