为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

local links not working

  • 1 个回答
  • 5 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I have set up a small, simple Intranet in our offices. The pages in the Intranet need to include links to local documents like Word files, Excel files, PDF files, etc.

I cannot get the links to work by clicking them. If I Shift-Alt-Click I get a message asking if I want to Open or Save the file. My code is:

<a href="file:///n:/folder/document.doc">Document Title</a>

Clicking the link results in no response from the browser. This also does not work in Google Chrome or Opera. However, it works in IE8.

I have researched the web and the only solutions I have found are related to accessing local files from the Internet, not locally. Nothing I have tried has worked.

I have set up a small, simple Intranet in our offices. The pages in the Intranet need to include links to local documents like Word files, Excel files, PDF files, etc. I cannot get the links to work by clicking them. If I Shift-Alt-Click I get a message asking if I want to Open or Save the file. My code is: '''<a href="file:///n:/folder/document.doc">Document Title</a>''' '''Clicking the link results in no response from the browser.''' This also does not work in Google Chrome or Opera. However, it works in IE8. I have researched the web and the only solutions I have found are related to accessing local files from the Internet, not locally. Nothing I have tried has worked.

所有回复 (1)

more options

See http://kb.mozillazine.org/Links_to_local_pages_do_not_work

Are there any error messages in the Tools > Error Console?

Firefox won't open .doc files from Word or other MS products and will offer to save the file or open with another application. IE can display such a file as being part of Windows and know about MS files from other MS applications, so you most likely can't use such a link in browsers other than IE.