crescendo
asked on
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.
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.
ASKER
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 easy, but I think only IE 5.5+ supports them, so Netscape and old IE browsers won't see the output properly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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?"
ASKER
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.
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.
Good Luck!
--Michael