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?
Views: 1,318
Totally Zenned
Is there any neat way of detecting if Adobe Acrobat is available to view PDFs from Zen Cart?
Black Belt
What do you want to happen once you know if they have Acrobat or not?
Totally Zenned
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.
Black Belt
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.
Totally Zenned
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.
Fields marked required must be completed.
Tell staff why this post should be reviewed.