- From: Jeremy Keith <jeremy@adactio.com>
- Date: Mon, 2 Aug 2010 11:31:31 +0100
Dennis wrote: > I have an idea which would be very cool for HTML5. > > Having a Content-Disposition property on <a> tags which does the same as > the HTTP Header. > For example changing the file name of the file to be downloaded or rather > have a image > file download rather than it being shown in the browser directly. Hang on... isn't the mechanism for this already available via the "type" attribute? For example: <a href="/path/to/image.jpg" type="image/jpeg">Full size image</a> A browser could offer a preference setting, for example: "Always download the following types of files, rather than opening in the browser: * images [x] * movies [ ] ...etc." -- Jeremy Keith a d a c t i o http://adactio.com/
Received on Monday, 2 August 2010 03:31:31 UTC