Displaying a PDF in a page without using frames

My app lets a user select a PDF report, and then displays it in a new window. My client now thinks it would look better in the main page, retaining the menus down the left so that he doesn't "get lost".

My page doesn't use frames, it uses tables to lay out the page. Is there a way to display a document in a table cell without using frames or IFRAMEs? Browser compatibility is an issue here.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tell your client if he wants browser compatibility, best to leave it in a frame/iframe, that way the browser decides how it is displayed.  You could do this with a third-party control they would have to download, then that wouldn't be very browser compatible.  I don't know how to do this, but I would imagine you could use adobe's pdf plugin within the page if you knew how to correctly identify it with an <object> tag.

Good Luck!

crescendoAuthor Commented:
I'm trying to avoid frames because it's a fair amount of work to change my app to use them, and I have a suspicion that when the client sees the result he'll say he preferred a new window after all.

Iframes are easy, but I think only IE 5.5+ supports them, so Netscape and old IE browsers won't see the output properly.
<iframes> are a little more available than IE 5.5+

I think you'll be safe using them, especially if you look at the statistics for who is using what browser these days.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

crescendoAuthor Commented:
Fair enough, that makes it easy to please the client, so thanks again!

The reason I'm reluctant to invest too much energy in this is that the client has already given me a hard time making me scale everything to fit in an 800 x 600 window, "just in case". Now he wants to display the PDF in the 650 pixels to the right of the navigation menu. It will be unreadable, and he'll change his mind.
Don't you just love when they come to you and say "On second thought...I really want it like this now..."  Give them a quick demo page and ask them "Are you really sure you want it like this?"
crescendoAuthor Commented:
Already done it!

That's why I like <iframe>, it's so painless.

It gets my goat that this is a fixed-price project at a rock bottom price. Contractually I could argue that I've done what they asked, but the reality is that I won't get paid until they are happy.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.