Print Page | Close Window

hidden elements to simulate popup windows

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: General
Forum Description: This is for experienced PDF users. Here you can talk about any topics not set aside for Developers, Prepress and PDF Forms.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=85
Printed Date: 22 Oct 2019 at 2:46pm
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: hidden elements to simulate popup windows
Posted By: dougalford
Subject: hidden elements to simulate popup windows
Date Posted: 27 Oct 2011 at 5:09pm
I know (or think I do) that you cannot create popups in PDF the same way you can in HTML, but is there a way to simulate it, using a combination of javascript and hidden elements?

For example, say you have a bar chart and you want each bar to be click-able and when clicked to pop up a graphic that shows numerical details. I was asked by a coworker if I had any suggestions on just such a project, and the only thing I could come up with was to have the graphics be extra pages in the pdf, and just draw links around the bars that go to those pages, with a BACK button on the page to return to the bar chart.

But that's messy. It would be nice to simulate popups. Is it possible?

(Hello to anyone who's been here for years, btw. You might remember me from many years ago. I was dug.)



Replies:
Posted By: try67
Date Posted: 28 Oct 2011 at 10:50am
Yes, it's possible. The way you do it is by creating a button form field, to which you can assign an image. You then add a script to your other form field element that shows the image button on MouseEnter and hides it on MouseExit.

-------------
- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com


Posted By: BAlheit
Date Posted: 28 Oct 2011 at 10:54am
Something like the buttons on the last page of the following document?
http://www.traum-projekt.com/fileadmin/user_upload/sonstige/pdf/2/Tutorial_popup.pdf - http://www.traum-projekt.com/fileadmin/user_upload/sonstige/pdf/2/Tutorial_popup.pdf


Posted By: dougalford
Date Posted: 28 Oct 2011 at 9:32pm
Yeah, that's what I needed. Thanks!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net