i have pdf file. want display pdf file in cases adobe acrobat installed on user's machine,otherwise want show error page. how can accomplish loading of pdf file through javascript when adobe acrobat present?
as dumb pdf viewer may not understand javascript, have "the other way round". provide document error page, , have code "activate" within acrobat/reader.
the property when doing such test app.viewertype
, "reader", "exchange", or "exchange pro". viewertype
designates application. might evaluate app.platform.