/    Sign up×
Community /Pin to ProfileBookmark

how do we d’load mp3 on left click

[FONT=Verdana]Hi folks
My first post here. I wish to find out how to make mp3 files download on left click rather than right click>Save Target As. If anyone knows html or a JavaScript that will accomplish this I’d be keen to find out.
I am no stranger to html but my studies of other things have seemingly flooded my brain and I can’t think of any way to do this.
Thanks
[COLOR=Blue]tarunkrsna[/COLOR] [/FONT]

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@sinciliteNov 11.2005 — I had the same problem a while back and turns out the best way is .zip files.

S
Copy linkTweet thisAlerts:
@Robert_WellockNov 11.2005 — If you have Apache and .htaccess you can use the: application/octet-stream on .mp3
Copy linkTweet thisAlerts:
@tarunkrsnaauthorNov 11.2005 — OK Thanks guys. I'm running apache locally just to test php pages whilst learing but not smart enough to use it as an online server, security would be a big freak out for me, so it looks like the zip files is the way to go. I'll give it a go today.

t4runkrsn4 ?
×

Success!

Help @tarunkrsna spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...