Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    yes, im using the function right now but it works on my front page but not on all pages. how do i fix this?

    Edit: btw, im using php pages
    Last edited by lilmizzvi0let; 07-12-2004 at 08:18 AM.

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Confusing... can you detail your problem, please?
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    You mean using execCommand('SaveAs')?

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

  • #5
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes, thats the command


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •