Welcome! Log In Create A New Profile


Open PDF file when WebDev page opens

Posted by John Fligg 
John Fligg
Open PDF file when WebDev page opens
February 20, 2017 03:04PM
I have a standard WebDev Dynamic Page and want to open a PDF file when the page has opened:

IF gsPDFName <> "" THEN
FileDisplay(gsPDFName, "application/pdf")

However wherever I put the code either the opening of the page takes precedent or the opening of the file does.

How can I open the page and when loaded open the PDF file please?

BTW OnLoad does not work.


Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.