Download .png through dialog

J

Jens Peter Karlsen[FP MVP]

Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
J

Jehuty

How do I insert the coding to create the dialog?

Jens Peter Karlsen said:
Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
A

Andrew Murray

The download dialogue is built in to your browser.

In Windows explorer, right click the PNG file, select send to > Compressed
Folder.

Compressed Folders has been an accessory of Windows since Windows 98, so
install "Compressed Folders" from Control Panel > Add/Remove programs >
Windows Setup if necessary.

Anyway.....in Frontpage, import the zipped file. Create a hyperlink to it
in Frontpage. Publish the html page and the *.zip file.

View the page, and click the link, you'll see the download dialogue will
come up automatically.


Jehuty said:
How do I insert the coding to create the dialog?

Jens Peter Karlsen said:
Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
J

Jehuty

I understand the compressed folder operations, but what i mean is, is there a
way for a user to download a .png file (which i have uploaded to the server)
through a dialog? I ask because i have seen this done on websites.

Andrew Murray said:
The download dialogue is built in to your browser.

In Windows explorer, right click the PNG file, select send to > Compressed
Folder.

Compressed Folders has been an accessory of Windows since Windows 98, so
install "Compressed Folders" from Control Panel > Add/Remove programs >
Windows Setup if necessary.

Anyway.....in Frontpage, import the zipped file. Create a hyperlink to it
in Frontpage. Publish the html page and the *.zip file.

View the page, and click the link, you'll see the download dialogue will
come up automatically.


Jehuty said:
How do I insert the coding to create the dialog?

Jens Peter Karlsen said:
Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
B

Bob Lehmann

Since right-click | save as or zipping apparently are not an option....
http://www.aspfaq.com/show.asp?id=2161

Bob Lehmann

Jehuty said:
I understand the compressed folder operations, but what i mean is, is there a
way for a user to download a .png file (which i have uploaded to the server)
through a dialog? I ask because i have seen this done on websites.

Andrew Murray said:
The download dialogue is built in to your browser.

In Windows explorer, right click the PNG file, select send to > Compressed
Folder.

Compressed Folders has been an accessory of Windows since Windows 98, so
install "Compressed Folders" from Control Panel > Add/Remove programs >
Windows Setup if necessary.

Anyway.....in Frontpage, import the zipped file. Create a hyperlink to it
in Frontpage. Publish the html page and the *.zip file.

View the page, and click the link, you'll see the download dialogue will
come up automatically.


Jehuty said:
How do I insert the coding to create the dialog?

:

Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
T

Thomas A. Rowe

Custom written server-side scripting is requires to force the download dialog to appear.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Jehuty said:
I understand the compressed folder operations, but what i mean is, is there a
way for a user to download a .png file (which i have uploaded to the server)
through a dialog? I ask because i have seen this done on websites.

Andrew Murray said:
The download dialogue is built in to your browser.

In Windows explorer, right click the PNG file, select send to > Compressed
Folder.

Compressed Folders has been an accessory of Windows since Windows 98, so
install "Compressed Folders" from Control Panel > Add/Remove programs >
Windows Setup if necessary.

Anyway.....in Frontpage, import the zipped file. Create a hyperlink to it
in Frontpage. Publish the html page and the *.zip file.

View the page, and click the link, you'll see the download dialogue will
come up automatically.


Jehuty said:
How do I insert the coding to create the dialog?

:

Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
J

Jehuty

Ok, I've checked out that coding, now here is the other problem:
Part of the coding includes this: ( fn = "whatever.jpg" )

I would need to put ( '<%=FP_FieldURL(fp_rs,"MyMap")%>' ) in place of the
"whatever.jpg" section.

Now how will that be possible because the %> cancels out the first.

Bob Lehmann said:
Since right-click | save as or zipping apparently are not an option....
http://www.aspfaq.com/show.asp?id=2161

Bob Lehmann

Jehuty said:
I understand the compressed folder operations, but what i mean is, is there a
way for a user to download a .png file (which i have uploaded to the server)
through a dialog? I ask because i have seen this done on websites.

Andrew Murray said:
The download dialogue is built in to your browser.

In Windows explorer, right click the PNG file, select send to > Compressed
Folder.

Compressed Folders has been an accessory of Windows since Windows 98, so
install "Compressed Folders" from Control Panel > Add/Remove programs >
Windows Setup if necessary.

Anyway.....in Frontpage, import the zipped file. Create a hyperlink to it
in Frontpage. Publish the html page and the *.zip file.

View the page, and click the link, you'll see the download dialogue will
come up automatically.


How do I insert the coding to create the dialog?

:

Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
T

Thomas A. Rowe

You would do like so:

fn = fp_rs("MyMap")

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Jehuty said:
Ok, I've checked out that coding, now here is the other problem:
Part of the coding includes this: ( fn = "whatever.jpg" )

I would need to put ( '<%=FP_FieldURL(fp_rs,"MyMap")%>' ) in place of the
"whatever.jpg" section.

Now how will that be possible because the %> cancels out the first.

Bob Lehmann said:
Since right-click | save as or zipping apparently are not an option....
http://www.aspfaq.com/show.asp?id=2161

Bob Lehmann

Jehuty said:
I understand the compressed folder operations, but what i mean is, is there a
way for a user to download a .png file (which i have uploaded to the server)
through a dialog? I ask because i have seen this done on websites.

:

The download dialogue is built in to your browser.

In Windows explorer, right click the PNG file, select send to > Compressed
Folder.

Compressed Folders has been an accessory of Windows since Windows 98, so
install "Compressed Folders" from Control Panel > Add/Remove programs >
Windows Setup if necessary.

Anyway.....in Frontpage, import the zipped file. Create a hyperlink to it
in Frontpage. Publish the html page and the *.zip file.

View the page, and click the link, you'll see the download dialogue will
come up automatically.


How do I insert the coding to create the dialog?

:

Yes, use a script that on click of the download link throws up an alert
box that ask if they are sure they want to download and cancel the
action if they say no.
However, why bother? If they by accident start a download, they can just
close the download window to abort the download.
Also notice that png files will open in the browser. You should zip them
if they are meant to be downloaded.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Jehuty [mailto:[email protected]]
Posted At: 27. januar 2005 07:03
Posted To: microsoft.public.frontpage.client
Conversation: Download .png through dialog
Subject: Download .png through dialog


Is it possible to have a user download a .png off of a site
through a dialog?
 
Top