taraf21 Posted May 31, 2005 Posted May 31, 2005 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: 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: <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...) <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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.