Link to home
Start Free TrialLog in
Avatar of hlygrail
hlygrail

asked on

PDF in HTML Frame works part time in XP?

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?
Avatar of webwoman
webwoman

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... ;-)
Avatar of hlygrail

ASKER

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.
Requested question closed due to lack of response.
ASKER CERTIFIED SOLUTION
Avatar of GhostMod
GhostMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial