Tom_D
January 3rd, 2010, 02:19 AM
I'm not sure where this question might fit, so I'll try it here.
I'm loading a pdf file into a browser from a javascript function [x=window.open("myfile.pdf", etc)]. When the document loads, the title that appears at the top of the pdf page is the file name (ie) or name + path (firefox). What I would like to be able to do is change this title.
I tried the obvious javascript commands without success. I also tried in Adobe Acrobat Pro 9 to cause the document title rather than file name to appear - all without success.
Does anyone know if I can change the title of a pdf page as it appears in the browser - either through javascript or through tweaking the pdf in Acrobat?
I'm loading a pdf file into a browser from a javascript function [x=window.open("myfile.pdf", etc)]. When the document loads, the title that appears at the top of the pdf page is the file name (ie) or name + path (firefox). What I would like to be able to do is change this title.
I tried the obvious javascript commands without success. I also tried in Adobe Acrobat Pro 9 to cause the document title rather than file name to appear - all without success.
Does anyone know if I can change the title of a pdf page as it appears in the browser - either through javascript or through tweaking the pdf in Acrobat?