472,779 Members | 2,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

How to use execCommand("saveas") and save images on the page?

lir
Hi,
I am trying to save a fram in a page using the execCommand("saveas")
the html is save currectly but I can not save the gif on that page.
How can I save the fram with the gif via execCommand("saveas").
I would like the user to choose where to put the file on his/her loca
hard drive.
Thanks,
Liro
-
li
-----------------------------------------------------------------------
posted via www.WebFrustration.com

Jul 20 '05 #1
3 7858
lir wrote:
Hi,
I am trying to save a fram in a page using the execCommand("saveas").
the html is save currectly but I can not save the gif on that page.
How can I save the fram with the gif via execCommand("saveas").
I would like the user to choose where to put the file on his/her local
hard drive.


AFAIK there is no other way then to use absolute references to the images...
JW

Jul 20 '05 #2
lir
So If I get it correctly The user will have to load the gifs of that
page (the page he just saveAs) each time from the server. Is there any
other way to save the html page ??? without getting any connection with
the server?

Janwillem Borleffs wrote:
*lir wrote:
Hi,
I am trying to save a fram in a page using the

execCommand("saveas").
the html is save currectly but I can not save the gif on that

page.
How can I save the fram with the gif via execCommand("saveas").
I would like the user to choose where to put the file on his/her

local
hard drive.


AFAIK there is no other way then to use absolute references to the
images...
JW *

--
lir
------------------------------------------------------------------------
posted via www.WebFrustration.com

Jul 20 '05 #3
lir hu kiteb:
So If I get it correctly The user will have to load the gifs of that
page (the page he just saveAs) each time from the server. Is there any
other way to save the html page ??? without getting any connection
with the server?


I believe recent versions of msie have the optio to save as a .mht file,
which integrates everything from teh page in a special format, images
included. I dont know how well it handles frames, and Im not sure how
any of this is relevant to javascript, or why it would be a major issue
to a web author.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: suitland | last post by:
Hi All, I am using the execCommand(SaveAs) function to save an HTML file as an xls file, and works fine when I open the program and open the file. Is there anyway I can trigger an Open dialog box...
2
by: psanjay | last post by:
Hi, Am unable to open javascript SaveAs dialog box in Firefox browser. Following is the script, <a href="javascript:void(0);" onclick="document.execCommand('SaveAs',false,'*.xyz');">Save this...
4
by: GavReynolds | last post by:
Hi All! I am using Javascript to export some content in a popup (in this case, just 5 simple words) to a text file. This works fine and the user can save the text file. Upon opening the file,...
6
by: mrobinson86 | last post by:
Hey guys, wondered if anybody could help me out with a pretty simple piece of code that has been driving me crazy for the past few days? I am trying to create a client side self sustaining message...
2
by: ejrfigueiredo | last post by:
Hi, Is there a way to get a script function to save a page without the execCommand (which works on IE but doesn't on Firefox). Below there's the code I'm using, I took it from a template page...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.