J
JMorris
Hi,
I'm trying to make really clean PDF popup windows from my website.
Here is the JavaScript which works:
<a href="#" onClick="Featurex=window.open('Library/Brochure.pdf','Featurex','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=700,height=700');
return false;" style="text-decoration: none">Version 9</a>
This is nice because it strips out a lot of Browser noise.
However, I would also like to use some of the special command line
switches from Adobe for invoking the PDF, for instance #pagemode=none.
However, I can't figure out how to slip the PDF command line switchs
into the Java Script.
Anybody know how to do this? The benefit will be a much cleaner
popup.
BTW, this whole JavaScript thing seems very complicated. I have done
quite a bit of programming in my life, but I'd rather do this via a
program. I'm using FP2002, but I still have to resort to JavaScript.
Anyone recommend a better Website tool? I realize that one might have
to resort to scripting for really tough stuff -- but the stuff here
seems kind of basic.
Many thanks,
John
I'm trying to make really clean PDF popup windows from my website.
Here is the JavaScript which works:
<a href="#" onClick="Featurex=window.open('Library/Brochure.pdf','Featurex','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=700,height=700');
return false;" style="text-decoration: none">Version 9</a>
This is nice because it strips out a lot of Browser noise.
However, I would also like to use some of the special command line
switches from Adobe for invoking the PDF, for instance #pagemode=none.
However, I can't figure out how to slip the PDF command line switchs
into the Java Script.
Anybody know how to do this? The benefit will be a much cleaner
popup.
BTW, this whole JavaScript thing seems very complicated. I have done
quite a bit of programming in my life, but I'd rather do this via a
program. I'm using FP2002, but I still have to resort to JavaScript.
Anyone recommend a better Website tool? I realize that one might have
to resort to scripting for really tough stuff -- but the stuff here
seems kind of basic.
Many thanks,
John