Web page URL links in Office and PDF's

I have a bit of HTML code that opens a new window at a specificied size

<a href="#" onclick="window.open('your_url_here','mywindow','width=450,height=300,toolbar=no,location=no,directories=no,s tatus=no,menubar=no,scrollbars=yes,copyhistory=yes,resizable=yes')"> Click Here</a>

Open in new window


The goal is from a PDF to click on a hyperlink and have a pop up web browser of a set size open with the appropriate URL. So can you specific the target size from a PDF and/or Word document? The idea is that I have an office organogram and when clicking on the link for a member of staff  opens there details in a maximized windows at the moment. I want it to open in a window of a set size.

thank you
LVL 16
Aaron StreetInfrastructure ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
i have done something very similar in the past.  

The trick for me was to do it in two steps.

1) on my web server I create an ASP page that would accept parameters. This would allow me to have a URL that was a simple link

2) the ASP page would accept the link along with parameters. It processed the request and  open the a pop up page in the desired size and location.the pop page.

I use ASP since I was reading a database to get the desire information. I  basically am passing a UserID/memberID/key to the ASP page to generate the page dynamically.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Aaron StreetInfrastructure ManagerAuthor Commented:
That not a bad Idea, although I was hoping not to have to use a back end web server. But having thought about it I think this might be the best solution. I can add a new "app" page on the web server that already hold the data that can accept passing the user name as a paramator and from that crate the pop up.

I don't suppose you have the and of the code you made for the page, it is on a windows server but my ASP is limited, so any help getting started would be great.

Cheers
0
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
Sure. I will post something for you shortly.
0
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
Sorry for the delay ... got called away with work ... I will post a example for you shortly
0
Aaron StreetInfrastructure ManagerAuthor Commented:
Not a problem I appreciate any thing you are happy to post.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.