?
Solved

Links in Embedded PDF

Posted on 2003-12-09
5
Medium Priority
?
270 Views
Last Modified: 2010-04-09
Hello,

I am working with a website which contains a PDF file embedded in an HTML document, using the <embed> tag.  The PDF document opens up nicely within the HTML document as it should, but the links within the PDF document don't work.  If I click on any of these links, I get a "Page not found" error.

Is there any solution to this?  I don't think there is, but I was hoping someone here might have a definitive answer, as I'm wasting a lot of time trying to find a solution which I don't think exists.

Thanks in advance for any advice.
0
Comment
Question by:missmikey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
pepsichris earned 500 total points
ID: 9903390
The easiest way is to use complete links, eg

http://www.yoursite.com/thelink.html

otherwise you have to fiddle about with where it's all relative to (which'll probably be the html page) so when you get the Page not found message, do a right click and go to properties, or use the File menu to get them or whatever, and work out where it's looking at, and adjust your code accordingly.
0
 
LVL 9

Assisted Solution

by:pepsichris
pepsichris earned 500 total points
ID: 9903397
Also, a quick fix might be to put the pdf document in the same directory as the html page.
0
 

Author Comment

by:missmikey
ID: 9904107
Thanks for your comment, pepsichris.

Are you saying that I would need to change the links in the PDF file, so that they always start with "http://"?  Because that's what the Adobe website seems to be indicating also.

When I checked to see what one of these links looks like, as you suggested, I found this:

res://C:\WINNT\system32\shdoclc.dll/http_404.htm#http://10.12.29.136:8088/cl_app/pem/cda/dtsc/v_1.0/gbr/cl_app_pem_cda_dtsc_v_1.0_gbr_mieux_connaitre_g/ORGA_Monetique_et_Securisation.pdf

Can't even begin to understand this link (I mean the part before the IP address), but I can tell you that it works when the PDF file is opened alone in the browser, i.e. not using the embed tag.  Does that make sense?
0
 

Author Comment

by:missmikey
ID: 9904132
Actually disregard that crazy post, pepsichris, I think I've found the answer to my question... thanks!!
0
 
LVL 9

Expert Comment

by:pepsichris
ID: 9904223
Cool - if not then come back...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question