Print Page | Close Window

Using Javascript to show an icon after a period

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=1498
Printed Date: 20 Sep 2019 at 9:48pm
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Using Javascript to show an icon after a period
Posted By: rmay635703
Subject: Using Javascript to show an icon after a period
Date Posted: 24 Mar 2015 at 5:39pm
I currently use buttons to show and hide ICONs I create within interactive PDFs.
 
I am curious if Javascript can be used to show the Button/Icon.
 
I also wonder if Java can show the Button/Icon after a period of time elapses.
 
Any ideas?

Thanx
Ryan



Replies:
Posted By: gkaiseril
Date Posted: 24 Mar 2015 at 6:15pm
If the icons are placed within a button field, the field can be displayed, hidden, displayed not printed, not displayed but printed.
 
It is possible to perform date time calculations within form and base decisions upon the results. It is even possible to perform real time updates using the timer feature within Acrobat JavaScript but this requires a lot of care because the timer needs to be turned off when the PDF is closed.
 



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