...

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



lilmizzvi0let
07-12-2004, 07: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

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

lilmizzvi0let
07-12-2004, 07: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.

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

Take a look here, maybe it will help you
http://www.codingforums.com/showthread.php?t=41455

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum