Acrobat - PDF in IFrame Open Link in PDF to Parent Page

I have a pdf displayed in a web page in an IFrame.  The pdf has a web link in it.  When the link is clicked on it opens everything in the IFrame.  Does anyone know how to open the page in the parent frame?

I have the javascript to open in a new window but need this to open in the parent.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

PDF is not DOM tree, nor it has access to that.
jshesekAuthor Commented:
Hi gheist,
There's a way in Acrobat to add javascript to the link.  I have the script to open the item in a new window.  So was wondering if there's a script to open in parent window.  Or maybe close current window and open new one with the new page?

Here's the script you javascript you use to open in a new window.
app.launchURL("", true)
jshesekAuthor Commented:
The javascript is added with the full version of acrobat.
And disabled in most corporate setups still using aging Acrobat Reader where pdf.js already took most of the ground.
The javascript in acrobat is executed in acrobat. there is no chance it can control rest of browser.

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
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
Adobe Acrobat

From novice to tech pro — start learning today.