The only way I know of (and if there are other ways, this is probably the easiest) is just to link to a word.doc file as a normal hyperlink. However the way the browser handles that is both browser- and setting-dependent. If MS Word is installed on the user's computer and it is allowed to open as a browser plug-in then you will see a little MS Word window open inside the browser window. To specify that the Word plug-in opens in a browser window instead of a Word window, it probably helps to include a target attribute in the anchor tag, but this won't force it to open in a browser window if a user has specified that non-HTML files be saved to disk.
I hope this helps. If you give more information (like your specific needs) I may be able to give additional suggestions.
Thank you very much.
Thank you very much.
It is very helpful for me.
Originally posted by jhardman
The only way I know of (and if there are other ways, this is probably the easiest) is just to link to a word.doc file as a normal hyperlink. However the way the browser handles that is both browser- and setting-dependent. If MS Word is installed on the user's computer and it is allowed to open as a browser plug-in then you will see a little MS Word window open inside the browser window. To specify that the Word plug-in opens in a browser window instead of a Word window, it probably helps to include a target attribute in the anchor tag, but this won't force it to open in a browser window if a user has specified that non-HTML files be saved to disk.
I hope this helps. If you give more information (like your specific needs) I may be able to give additional suggestions.
Comment