943,772 Members | Top Members by Rank

Ad:
May 2nd, 2008
0

how to open indesign, pdf, framemaker files using java script

Expand Post »
hi all,
i need to open indesign, framemeker, pdf files using java script. i have tried in many ways but i cant get the result. pls help me.
thanks in advance
hidash.
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
May 3rd, 2008
0

Re: how to open indesign, pdf, framemaker files using java script

What do you mean by 'open PDF' files using Javascript? You need the appropriate softwares for opening the respective files e.g. Acrobat reader for PDF files. The maximum you can do is make the browser open up a prompt box which would give you the option of either saving the file to your local system or opening it with a program of your choice and this can be done using plain HTML; no javascript required. Browser embedded Javascript is as such not capable of *reading* files.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006
May 5th, 2008
0

Re: how to open indesign, pdf, framemaker files using java script

hi,
thanks for ur response. whatever u said is correct but its not solve my problem. i have already done like that. i need to open the application using java script. its my requirement.
my file download popup should not come. and no files should be download in the local machine.
the files should be fetch from the server and it should open in its corresponding local machine.
i trust u can understand my problem. pls help me S.O.S....
Advance thanks
hidash.
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
May 5th, 2008
0

Re: how to open indesign, pdf, framemaker files using java script

Javascript can't spawn processes and it's a part of the browser security model; you can't do anything about it. Maybe VBScript might have something in store for you, but then again, your application won't work for non-windows users. Your best bet would be to set the appropriate mime type (content type) of the response and hope for the best.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: how to get result with 3 dropdown multiple selectbox via AJAX and a DB
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Javascript Problem....Simple for experts i guess.....





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC