opening pdf on same server
I am trying to open a pdf from within captivate in a pop up window using javascript:
window.open("https://www.xyz.co.uk/captivate/pdffiles/information.pdf","certificate","height=700,width=1024,left=25,top=25");
This works fine as a local desktop copy however, when I run this on the server it trys to open a window like this
https://www.xyz.co.uk/www.xyz.co.uk/captivate/pdffiles/information.pdf
which obvioulsy fails using the same code with a dummy pdf from a test site works fine on both local copy and server copy
window.open("https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf","certificate","height=700,width=1024,left=25,top=25");
Any help apreciated
Bernie
PS: If a captivate developer rreads this............any chance of getting a bigger window to enter code into
