473,385 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 7893
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.