Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Linking files and such..
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

neranima
Novice

6 Posts

Posted - 12 Jan 2004 :  01:22:13  Show Profile  Visit neranima's Homepage  Reply with Quote
I have files that i'd like my friends to download...i've made a link to them already however, when it's clicked, it opens up windows media player...and when you right click and try to save target as it saves it as a html file. What can i do about this to get it to work right?
[2 ?:-|]

Thx in advance.

Edited by - on

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Jan 2004 :  08:52:20  Show Profile  Visit s.dav's Homepage  Reply with Quote
Hello neranima,

what type of files do you want to link?
Every browser work different for example you link a image (.jpg or .gif) the browser show it; if you link a (.mov,.avi and so) the browser open the media player (if it recognize it as a movie file).
The simplest way to force the browser to show the "Save As" window is to pack the files in a .zip.


In alternative if you usa a web server with dynamic pages (.asp,.php,.jsp,etc.) you can add an header to a page saying that the file is a downloadable file

This is the example for .asp file

response.addheader "content-type", "application/bin"
response.redirect "myfile.mov"


Note that in the next version 2.0 Dynamic HTML Editor come with a link wizard who help you to make links.

Regards, Davide

Edited by - on
Go to Top of Page

neranima
Novice

6 Posts

Posted - 12 Jan 2004 :  23:46:11  Show Profile  Visit neranima's Homepage  Reply with Quote
k, kewl...i'll try it out and see what happens...thx

Edited by - on
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000