I'm trying to link to a particular spot in a pdf from my aspx page and using a javascript function that opens them in a separate window. I have a central place that I keep my javascript - this is the function:
I read that you can insert the #page=page_number into the url address, but this is how mine looks:
so when I add in the page reference, I just get a blank pdf window. This is how I tried it (well one of the ways...)
Can ANYONE help me with this??
Thanks in advance!!
Tara
Code:
function PDFPop(filename) {
newwindow=window.open("DocPopup.aspx?DocId=" + filename,"PDFWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,screenX=200,screenY=200,top=200,left=200,width=800,height=600");
}
I read that you can insert the #page=page_number into the url address, but this is how mine looks:
Code:
<A class="nysiflink" href="javascript:PDFPop('NYSIFDBWebInstructions.pdf',800,600);">Need Help?</A>
so when I add in the page reference, I just get a blank pdf window. This is how I tried it (well one of the ways...)
Code:
<A class="nysiflink" href="javascript:PDFPop('NYSIFDBWebInstructions.pdf#'page=3,800,600);">Need Help?</A>
Can ANYONE help me with this??
Thanks in advance!!
Tara