Help Help Help (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


adrian -> Help Help Help (2/15/2002 13:57:39)

I need to write some HTML code that will detect weather a PC has Word or Adobe Acrobat on it and then use the opropriate one to open a document. Any help would be appreciated.

Cheers




Mike54 -> RE: Help Help Help (2/15/2002 14:14:39)

Welcome adrian,

If I might be so bold, why not just make the .pdf file available and provide a link to Adobe to allow the visitor to download the reader? It is conceivable that a visitor would have neither installed. It's much cheaper to get Acrobat Reader (free) than MS Word ($$$) If you want to have both formats available why not have a link page for each and let the visitor decide? My thoughts only, you know best what you need.

I think, therefore I am, I think.




adrian -> RE: Help Help Help (2/15/2002 14:18:13)

Thank you for your reply. I done the just that but I was told I must find another way. I think you are right, and it makes alot of sense. Can you think of another way around this.

adrianwilliams




Mike54 -> RE: Help Help Help (2/15/2002 14:40:29)

Is there a particular reason why both formats need to be available? A better understanding might help. The only improvement in the previous suggestion might be to place a copy of the Reader .exe file within you site so the visitor doesn't have to leave to get it. Of course you would have to update it periodically to ensure the latest and greatest were available. As for a different way, we'll have to wait for some of the true gurus to see this.

I think, therefore I am, I think.




Mojo -> RE: Help Help Help (2/15/2002 15:59:57)

This is not a beginner subject

It is simple to get a list of plugin from NN. Something like this should get you started:

<script language="JavaScript">
for(i=0; i<navigator.plugins.length; i++){
document.write(navigator.plugins.name);
}
</script>

Detecting MS Word in NN or IE or accurately detecting plugings in IE will take an ActiveX method.

Follow this link for some help:

http://www.oreillynet.com/pub/a/javascript/2001/07/20/plugin_detection.html%3Fx-showcontent%3Dtext+detect+word+acrobat+javascript+&hl=en

Joe

EDIT: If I have a serious need for Browser Capabilities I use BrowserHawk from www.cyscape.com



Edited by - jbennett on 02/15/2002 16:01:59




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125