I have a hyperlink to a .doc file. I need it to ask the user to download the file instead of opening up word in the browser. Is there anyway to control this?
apatterno: Many users don't have WinZip and they don't feel like downloading it.
That they have Word installed already suggests they're perfectly willing to load all sorts of crazy apps on their computer. You can always include a link to a downloadable install of WinZip!
You don't have to make it a zip file -- just some extension the browser doesn't recognize. ".wordfile" might do the trick.
I think the best way is just to instruct the user to right click on it (or Ctrl+click on a Macintosh) and choose "Save Target As..."
This is the simplest solution. Why won't this work for you?
CliveC: Why not save your doc file in html format.
This is the most graceful solution. Render it a non-problem.
Cheers,
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
Just a note, saving something in HTML from Word is hideous, have a look at the source if you don't believe me, the file ends up about 20-50x bigger than it needs to be.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.