You are here: Re: View Word/Excel file in Browser? « HTML « IT news, forums, messages
Re: View Word/Excel file in Browser?

Posted by Brian Cryer on 11/01/05 18:36

"harry" <a@abc.com> wrote in message
news:B5L9f.141991$G8.61533@text.news.blueyonder.co.uk...
> Using IE 5.5 (sp3) on win 2000 (sp4) with Office 2002 professional - no
> other browser is required i.e. Intranet app!
>
> I have the following HTML -
>
> <a target="_blank" href="http://localhost:8001/MyWeb/y.doc" >
> <img border="0" alt="Show page help" src="images/buttons/help.gif"
> style="cursor:hand">
> </a>
>
> I want the Word document to open in a new window with the Word Viewer
> showing the document formatted correctly however all it does is display
> the
> DOC file as is i.e. gibberish.
>
> I know this can work as I've seen it on other systems whereby the DOC or
> XLS
> file is displayed inline in the Browser window!
>
> I'm guessing this has something to do with the MIME type note being set?
> but
> have no idea how to set it? is it in IE settings or what?
>
> Can anyone help? this has completely baffled me!
>
> thanks
>
> harry

Does it work if you replace:

href="http://...

with

href="file://...

thats what we have on our local intranet. You could also try:

href="//...

but I'm not so sure about that one.

Hope this helps.
--
Brian Cryer
www.cryer.co.uk/brian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация