[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Links in Embedded PDF

Posted on 2003-12-09
5
Medium Priority
?
272 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

656 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