To open a Microsoft Office documents from your web page, you will need to use JavaScript. You will need to program FFWinPlugin in case of Chrome, FireFox and Safari, or SharePoint.OpenDocuments ActiveX in case of Internet Explorer. Note that your server must be a Class 2 WebDAV server.
You can find more information here.