PDF Popups From FrontPage -- Trouble With JavaScript & Adobe Command Line Switches

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
 
T

Thomas A. Rowe

What happens when you change
'Library/Brochure.pdf'
to
'Library/Brochure.pdf#pagemode=none' ?

If that doesn't work then you need to visit the Adobe web site or contact
them, as this is not a FP related issue.
--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================
 
M

MD Websunlimited

Hi JMorris,

You asked if anyone has a website tool to recommend for the JavaScript stuff, take a look at J-Bots. 87 different JavaScript
components in one simple, easy to use package.

Recently featured in "Inside FrontPage"

See http://www.websunlimited.com/order/Product/JBP2002/jbp_help_dir.htm'

Also, http://www.websunlimited.com/using.htm

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Create fast, better scaling link bars with CSS Menu Maker
http://www.websunlimited.com/order/Product/CssMenu/css_menu.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top