Solved

PDF in HTML Frame works part time in XP?

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 basics of jQuery including how to code hide show and toggles. 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…

770 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