Solved

PDF in HTML Frame works part time in XP?

Posted on 2004-04-05
5
150 Views
Last Modified: 2010-04-09
I have read some of the related posts from back in 2000 / 2001 about showing a PDF file in a frame.  Using a TOC frame, and Content frame to show the PDF.  It looks pretty standand from similar threads,
<a href="mypdf.pdf" target="contentframe">My PDF</a>

My question is:  This works part of the time only.  On ME and XP machines running the same version of Reader, and IE, the PDF shows in the frame.  On another XP box, using the same version of Reader and IE, it pops up a new window.  Any thoughts on why this is happening?  Or, is there a more reliable way to force the PDF to appear in the frame?
0
Comment
Question by:hlygrail
[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
  • 2
5 Comments
 
LVL 19

Expert Comment

by:webwoman
ID: 10786752
There's NO reliable way to force PDF to open in a frame. The Acrobat toolbar gets loaded, and some systems handle it in the frame and some don't. I suspect it may have to do with the version of Acrobat, but it may not.

One more blow against frames... ;-)
0
 

Author Comment

by:hlygrail
ID: 10792320
I understand the downside of frames, especially after reading other threads.  At this point I'm still not ready to abandon them.  The version of Reader that was mentioned in the original question is identical among all computers.  I have excluded the version of Acrobat Reader, and the family of operating systems (works under ME and XP) as the "common" denominator.

It may well be a configuration option in IE (which one??), or perhaps Windows.  I may not be able to control that aspect, but it seems I have to isolate the cause before I can make a determination whether HTML (or Javascript perhaps?) can force the PDF to appear in the frame.

By the by, I don't object to the toolbar getting loaded.  That occurs whether the PDF shows up in the content frame, or creates a new window.

Maybe a modified approach would be to ask if someone can identify the "X-factor" that causes the behavior (i.e. for the target parameter in the <a> tag in HTML to be ignored).  Or, if a comparable functionality exists in some other web language that may aviod the problem.
0
 

Author Comment

by:hlygrail
ID: 10982419
Requested question closed due to lack of response.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11017802
PAQd, 500 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
CSS in HTML 5 68
Jquery HTML() with ajax... replacing content 2 54
Check input text, Number 7 55
Table header must be on top 2 58
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

752 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