A
Andrew Poulos
I have some js that looks like this:
fOpenPDFInNewWindow = function(url,page) {
var page = page || 1;
newPDF = window.open(url+"#pagemode=bookmarks&page="+page,
"location=no,menubar=no;toolbar=no,scrollbars=no,width="+800+",height="+600+"\"");
}
and some HTML that looks like this:
<a href="#"
onclick="fOpenPDFInNewWindow('http://www.domain.com/test.pdf',5); return
false;">test link</a>
In my testing the PDF always opens at the specified page yet the client
insists that in her testing it only ever opens at page 1. I thought that
this would be pretty straightforward but I'm stumped as to why it should
behave differently. The client is using IE 6.
Andrew Poulos
fOpenPDFInNewWindow = function(url,page) {
var page = page || 1;
newPDF = window.open(url+"#pagemode=bookmarks&page="+page,
"location=no,menubar=no;toolbar=no,scrollbars=no,width="+800+",height="+600+"\"");
}
and some HTML that looks like this:
<a href="#"
onclick="fOpenPDFInNewWindow('http://www.domain.com/test.pdf',5); return
false;">test link</a>
In my testing the PDF always opens at the specified page yet the client
insists that in her testing it only ever opens at page 1. I thought that
this would be pretty straightforward but I'm stumped as to why it should
behave differently. The client is using IE 6.
Andrew Poulos