I want to pulish a bunch of PDF files in Static page.
I found the IFRAME script on here. But the height of the iframe is so small for PDF page. How can I resize to fit the whole center page for PDF?


Text Formatted Code
<script language="JavaScript">
function iframeHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('iframename').contentDocument.body.scrollHeight;
document.getElementById('iframename').style.height = h;
else if(document.all) {
h = document.frames('iframename').document.body.scrollHeight; = h;
<iframe onLoad="iframeHeight();" src="cada-20041201.pdf" scrolling="no" scroll="no" id="iframename" marginwidth="0" marginheight="0" frameborder="0" style="width:100%;"></iframe>