|
Posted by palgrave on April 20, 2005, 1:17 pm
Please log in for more thread options
Hi,
How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?
|
|
Posted by David Dorward on April 20, 2005, 9:28 pm
Please log in for more thread options
palgrave wrote:
> How do you create an html link from a web page to a read-only excel
> spreadsheet without the browser asking if the user wants to open it or
> save it?
Configure the browser so it doesn't prompt you. You can't do it from HTML.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is
|
|
Posted by Dan on April 20, 2005, 2:46 pm
Please log in for more thread options
David Dorward wrote:
> palgrave wrote:
>
> > How do you create an html link from a web page to a read-only excel
> > spreadsheet without the browser asking if the user wants to open it
or
> > save it?
>
> Configure the browser so it doesn't prompt you. You can't do it from
HTML.
In fact, HTML doesn't even know it's an Excel spreadsheet; it's up to
the server serving it to send the proper MIME type headers that
indicate the data type. Then, upon receiving the headers, the browser
decides what to do with it in accordance with its configuration. If it
happens that the user doesn't even have Excel on his/her system, or any
other program that views such spreadsheets, then the only reasonable
option for the browser to give is to save the file.
--
Dan
|
|
Posted by Stan Brown on April 20, 2005, 5:42 pm
Please log in for more thread options
"David Dorward" wrote in comp.infosystems.www.authoring.html:
>palgrave wrote:
>
>> How do you create an html link from a web page to a read-only excel
>> spreadsheet without the browser asking if the user wants to open it or
>> save it?
>
>Configure the browser so it doesn't prompt you. You can't do it from HTML.
Not even with <object> ??
(Disclosure: I tried myself last year to set that up, and failed.)
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
|
|
Posted by David Dorward on April 21, 2005, 12:02 am
Please log in for more thread options
Stan Brown wrote:
> "David Dorward" wrote in comp.infosystems.www.authoring.html:
>>> How do you create an html link
>>Configure the browser so it doesn't prompt you. You can't do it from HTML.
> Not even with <object> ??
<object> wouldn't be a link, it would also be a right pain in the whatsit
for anyone who wanted to save the file, or view it in a window of
reasonable size.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is
|
| Similar Threads | Posted | | HTML form to Excel | July 31, 2008, 11:47 am |
| Embed Excel into html page using IE | July 12, 2004, 5:26 pm |
| Editing Excel in html page. | July 12, 2004, 7:08 pm |
| html form to populate into an excel sheet? | April 7, 2005, 7:49 pm |
| Error al abrir excel file en html | January 23, 2006, 10:01 am |
| Web form to Excel | February 25, 2005, 2:47 pm |
| html link from browser link to xml editor | September 9, 2004, 5:53 am |
| Special characters used in Excel | January 28, 2005, 4:29 am |
| Reading excel table into PHP | March 4, 2008, 11:41 pm |
| help with Excel files - is mySQL a solution | March 11, 2005, 9:52 am |
|