Here is the relevant code from the page that dsplays the PDF:
Code: Select all
<TBODY>
<TR style="VERTICAL-ALIGN: top">
<TD style="BACKGROUND: red" height=1><IMG border=0 src="/iPay/private/images/blank_pixel.gif" height=1></TD>
<TD width=5><IMG border=0 src="/iPay/private/images/blank_pixel.gif" height=1></TD></TR>
<TR style="VERTICAL-ALIGN: top">
<TD style="VERTICAL-ALIGN: top">
<TABLE id=table5 border=0 cellSpacing=0 cellPadding=0 width="100%" height="100%">
<TBODY>
<TR style="VERTICAL-ALIGN: top">
<TD style="VERTICAL-ALIGN: top">
<DIV id=DivShowPDF>
<SCRIPT src="/iPay/private/content/contentShowPDF.js"></SCRIPT>
<OBJECT id=ObjectPDF classid=clsid:CA8A9780-280D-11CF-A24D-444553540000 width="100%" height=700><PARAM NAME="_cx" VALUE="xxxx"><PARAM NAME="_cy" VALUE="yyyyy">
<embed src="iPayStatementsServ.pdf?r=aaaaaaaa.bbbbbbbb" width="100%" height="700"><noembed>Your browser does not support embedded PDF files. </noembed></embed></OBJECT></DIV>
<HR>
</TD>
<TD width=20> </TD></TR></TBODY></TABLE></TD>
<TD width=5> </TD></TR></TBODY>
Code: Select all
var strRandomNumber= Math.random()*99999999;
document.write('<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="700" id="ObjectPDF">');
document.write('<param name="SRC" value="iPayStatementsServ.pdf?r=' + strRandomNumber + '">');
document.write('<embed src="iPayStatementsServ.pdf?r=' + strRandomNumber + '" width="100%" height="700">');
document.write('<noembed>Your browser does not support embedded PDF files. </noembed>');
document.write('</embed>');
document.write('</object>');
Any idea's how we can get this to work? We so want to abandon Adobe Reader and it's problems and use PDF-XChange product.
I also tried viewing site with PDF-XChange Editor installed and it will display the editor in the area but the pdf is not shown.
The site works fine in Firefox/Chrome using the viewer.
Paul