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... Link to comment https://forums.phpfreaks.com/topic/55213-can-php-load-pdf-file-without-opening-new-window/ Share on other sites More sharing options...
vbnullchar Posted June 12, 2007 Share Posted June 12, 2007 post your code, Link to comment https://forums.phpfreaks.com/topic/55213-can-php-load-pdf-file-without-opening-new-window/#findComment-272935 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 Link to comment https://forums.phpfreaks.com/topic/55213-can-php-load-pdf-file-without-opening-new-window/#findComment-272965 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?? Link to comment https://forums.phpfreaks.com/topic/55213-can-php-load-pdf-file-without-opening-new-window/#findComment-273609 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.