Zen Cart Logo
Forums / General Questions / detecting Adobe Acrobat

detecting Adobe Acrobat

Locked

Views: 1,318

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Aug 2008, 4:39 PM
#1
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

detecting Adobe Acrobat

Is there any neat way of detecting if Adobe Acrobat is available to view PDFs from Zen Cart?

12 Aug 2008, 5:07 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: detecting Adobe Acrobat

What do you want to happen once you know if they have Acrobat or not?

12 Aug 2008, 5:32 PM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: detecting Adobe Acrobat

The site I'm working on has PDF versions of the articles to show how the article looked in the newspaper. I don't have Acrobat at home, so if I click on the link from there, I get a pop up asking if I want to download the PDF. I'd rather have an error message that the user can't view the PDF or (ideally) turn off the link if the user can't view the PDF. I found a javascript online, but I'm not all that sure how it would help me.

12 Aug 2008, 6:45 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: detecting Adobe Acrobat

afo:

I don't have Acrobat at home

You don't have Acrobat Reader? How come?

I know I've seen scripts that, if the visitor doesn't have the Reader, it'll prompt them to get it from Adobe.

12 Aug 2008, 7:02 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: detecting Adobe Acrobat

I don't know why. I discovered that I didn't when working on the site. I figure I won't do anything about getting it until I have an idea about detecting its existence (or lack of same). It's not the most important thing and it's certainly not a show stopper, but I think it'd be pretty slick.