473,549 Members | 2,579 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

lir
Hi,
I am trying to save a fram in a page using the execCommand("sa veas")
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("sa veas").
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 7907
lir wrote:
Hi,
I am trying to save a fram in a page using the execCommand("sa veas").
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("sa veas").
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("sa veas").
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("sa veas").
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
7925
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 asking if the user wants to open the file after the file finished downloading?
2
10885
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 page</a> The above script works fine in IE. Can anyone please let me know how do I make the SaveAs dialog box open in Firefox browser. Thanks,...
4
4202
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, it appears to be just a basic text file, however, i encounterd a problem importing this into flash (thats another story!). The text file needs to...
6
22950
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 board system using basic DHTML to keep all of my colleges up to date. I have successfully built functions to control the posting of messages, but...
2
11138
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 and added the save as command... all the functions are doing well within the two browsers except the "save as" on Firefox. <p>
0
7459
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7726
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7485
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7819
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5097
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3488
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1953
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.