Solved

PDF in HTML Frame works part time in XP?

Posted on 2004-04-05
5
146 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
  • 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now