|
hi all,
please help me i am using the below code to open my pdf file when user click the link given.
now i am facing some problem when i run my code in safari browser,
its open my pdf file but another window also get open .
function showDialogWindow(pdfName)
{
var left=(screen.width-800)/2;
var top=(screen.height-600)/2;
window.open(pdfName, "", "ststusbar=no;toolbar=1; resizable=1; width=800; height=600; top=" + top + "; left=" + left + ";");
}
|