Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
How to have download window pop up when download link is clicked? please
Old 01-26-2004, 04:07 PM How to have download window pop up when download link is clicked? please
Novice Talker

Posts: 6
Location: United States of America
Trades: 0
This is a stupid thing but, what do I have to include as far as html to not have a file automatically start playing/executing on a user computer and for download box to pop up asking the user what they would like to do with the file?

Other than zipping or providing instructions for the user to "right click and save as"....

There has to be some way to force that download request box to open..anyone?

Last edited by criteria; 01-26-2004 at 04:40 PM..
criteria is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-26-2004, 04:56 PM
ACJavascript's Avatar
Humble Mod

Posts: 548
Location: CT, USA
Trades: 0
You can use a meta tag to refresh to the file

<META HTTP-EQUIV="Refresh" CONTENT="0; URL=FILE.zip">

0 = how many seconds it waits till it redirects.
__________________

Please login or register to view this content. Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
ACJavascript is offline
Reply With Quote
View Public Profile Visit ACJavascript's homepage!
 
Old 01-26-2004, 05:04 PM
Novice Talker

Posts: 6
Location: United States of America
Trades: 0
I tried what you just suggested, but that caused the file, in this case a *.wmv movie file to automatically start playing when the page is displayed in the browser.

I am thinking something has to be added to generalize what to do when this type of file is accessed on the site, I just don't know what, I think maybe something in the header?


I WANT the download box to appear when the user clicks the link to it.

what ya think?

Last edited by criteria; 01-26-2004 at 05:15 PM..
criteria is offline
Reply With Quote
View Public Profile
 
Old 01-26-2004, 05:23 PM
ACJavascript's Avatar
Humble Mod

Posts: 548
Location: CT, USA
Trades: 0
Put the .wmv into a zip file. and meta refresh it to the zip file.
__________________

Please login or register to view this content. Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
ACJavascript is offline
Reply With Quote
View Public Profile Visit ACJavascript's homepage!
 
Old 01-26-2004, 05:37 PM
Novice Talker

Posts: 6
Location: United States of America
Trades: 0
I could do that, but I just want them to be able to download the file in it's current format. To have the choice to open it from it's current location or to save it to their hard disk.
criteria is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to have download window pop up when download link is clicked? please
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22057 seconds with 12 queries