KLS_andy Posted June 12, 2007 Share Posted June 12, 2007 hi...i have a new problem. at one of my page,i put a link, the link will invoke pop up windows to display the pdf file, but now i want to display the pdf file not in the new window but in the same page with the link (may be below the link), just like "granger.com" but granger using JSP.. can PHP do it?? any solution..thanz before... Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted June 12, 2007 Share Posted June 12, 2007 post your code, Quote Link to comment Share on other sites More sharing options...
suma237 Posted June 12, 2007 Share Posted June 12, 2007 post the code now so that i can check it.is it a link Quote Link to comment Share on other sites More sharing options...
KLS_andy Posted June 13, 2007 Author Share Posted June 13, 2007 Here is the code... <script language="javascript"><!-- document.write('<? echo '<a href="javascript:popupWindow(\\\'' . $pdflocation . $res[PdfProd] . '.pdf' . '\\\')">' . TEXT_MORE_INFORMATION .tep_image(DIR_WS_IMAGES . 'adobe_pdf.gif') . '</a>'; ?>'); //--></script> Actually i use javascript to pop up another window to display the pdf...can i display pdf page in the same page(e.g after the link line)?Must i use frame n then the link direct the pdf page n display it in the frame??Any other solution?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.