Solved

PDF in HTML Frame works part time in XP?

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

830 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