Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

73 users online



HTML for File Downloads on a Webpage?

HTML for File Downloads on a Webpage?

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
dncwithmatt

dncwithmatt

Status: Offline!

HTML for File Downloads on a Webpage?

What is the HTML for putting a link on your webpage that will opt a download of a file?:confused:

FrontSideSkate

FrontSideSkate

Status: Offline!

well what file extension is it? becuase files like .zip and .exe will auto promp if they are linked

___________________

http://www.nhacks.com/gmail/gmail.php?mail=Y2hhZHdpY2swMQ%3D%3D

Upload your Image for FREE! - MyPhotoUpload.com

dncwithmatt

dncwithmatt

Status: Offline!

well thats the probably...i dont know how to link the files to be downloaded. But its in .mov format (video).

Tsukmar

Tsukmar

Student
Status: Offline!

can do it with php :/
http://www.webxpertz.net/forums/faq.php?faq=wxfaq_3_3#faq_wxfaq_3_3_3

___________________

how do you weigh human life?

malephika

malephika

A Ghost
Status: Offline!

All you have to do is use a normal link like you do to your pages or other sites:

Code:

<a href="movie.mpg">Link</a>

Palani

Palani

Smart, Lazy. Chilled Out, Always.
Status: Offline!

I'd suggest doing it like this:

Code:

<a href="TargetFile.mov">Click Here</a>


And then putting "richt click ==> save target as next to it."
Works like a dream erverytime for me.

___________________

Error 667: Hell Not Found

Tsukmar

Tsukmar

Student
Status: Offline!

how can u know? is it absolutely nessecary that it isnt loaded in the browser?

___________________

how do you weigh human life?

dncwithmatt

dncwithmatt

Status: Offline!

I wouldnt mind if it was played in the browswer but i dont know how to set that up exactly...

freak

freak

Neverside Newbie
Status: Offline!
Quote:

Originally posted by dncwithmatt
I wouldnt mind if it was played in the browswer but i dont know how to set that up exactly...

You don't set anything up unless you embed the actual file into your page. What we're discussing right now is a link to a file. Now, some browsers will download and play the file (after you click the link) in the same browser window. This behavior is totally up to the browser and the settings set for that browser by the user.

___________________

Tables for layout is an abuse. -- Internet Explorer is unsafe.

Rad

Rad

thinking of something witty to put here
Status: Offline!

I don't think anybody has figured out how to embed movies across browsers with being standards-friendly anyways.

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0087 seconds.