Skip to main content
rombanks
Inspiring
October 10, 2016
Question

Portfolio cover page shows up for 4 seconds - Any way to control the time?

  • October 10, 2016
  • 1 reply
  • 1381 views

Hello folks,

When opening a PDF portfolio, its cover page shows up for 4 seconds and then disappears. Is there any way to control the time during which the cover page appears on the screen, possibly with JS? The time is defined somewhere, I just can't figure out where it's defined.

Thank you for your input in advance!

This topic has been closed for replies.

1 reply

JoelGeraci_Datalogics
Participating Frequently
October 10, 2016

I'd need access to the PDF in question to know for sure but the timing could be located in any number of places. It might be hard coded into the layout or it could be a property that is adjustable inside the .NAV file.

J-

rombanks
rombanksAuthor
Inspiring
October 10, 2016

Hi Joel,

I appreciate your response! I actually tested your sample TreeView with preview skin. The test portfolio uses it.

How is the timing defined in it? And how is it defined in the default acrobat skins?

Thanks again,

Roman

JoelGeraci_Datalogics
Participating Frequently
October 10, 2016

Roman:

Ok, then the time delay you're experiencing is the time that the layout is still loading. The ThreeView needs to wait to display after all of the files have been read by the navigator API but here's no callback to tell the layout when that's true. Instead, the startup code for TreeView checks to see if the number of files it has to deal with changes and it rechecks every 1/4 second. When the number of files stops changing, it displays. I suspect that this takes 16 tries on your machine, it might be less on a faster machine, more on a slower one.

J-