sugarbyte
07-13-2004, 07:40 PM
How can I make it so that when someone clicks to download something, it opens the "download prompt" you know, the whole " do you want to save or open" thing.... how do i do that??? Thanks ^_^
|
View Full Version : code for the download prompt sugarbyte 07-13-2004, 07:40 PM How can I make it so that when someone clicks to download something, it opens the "download prompt" you know, the whole " do you want to save or open" thing.... how do i do that??? Thanks ^_^ lefty 07-13-2004, 09:26 PM It would look like a regular link. <a href="file to download">Text here</a> pb&j 07-14-2004, 01:13 AM and for the browser to do the "download" thing, it has to be a file type that the browser thinks is a download file. example... a DOC file may open in the browser window. same as MID or whatever. put the file into a ZIP compressed file and it will start the download routine... <a href="filename.zip"> click to download </a> you can do a search for a zip program if you dont already have one. a popular one is called WinZip. there are probably a bunch of free ones out there. if you dont want to do the zip thing, then you will have to instruct your visitors to "Right Click" and choose the "Save As" option on your link. sugarbyte 07-14-2004, 04:04 AM Thanks ^_^ |