Page 1 of 1

Specify the zoom rate of a pdf file opened in a popup

Posted: Fri Jun 29, 2007 6:20 am
by hoangvu.che
I would like to display a pop up containing a pdf content after user clicks on a link.
Therefore, my javascript snippet is as follows:

Code: Select all

function showWindowPDF(FileName,name,width,height)
{
	var objWindow;
	//objWindow = window.open('pdf/'+sFolder+'/'+FileName,name,"menubar=no,scrollbars=yes,width="+width +",height="+height)
	objWindow = window.open('pdf/'+FileName,name,"menubar=no,scrollbars=yes,width=800,height=600");
	if(objWindow)
		objWindow.focus();
}
It works out. However, I would like to display the pdf content at a specific zoom rate i.e. 70%, 80%...
Could someone pls show me how to handle this?

Thanks

Posted: Fri Jun 29, 2007 6:27 am
by hoangvu.che
I think I have put my question in a wrong category.
Therefore, I have moved it to Client Side unsteadily.

I am sorry for inconvenience.